Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001467/0.001467, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001721/0.001721, allocations: 213.7 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 230.5 MB / 258.1 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.208/0.208, allocations: 46.92 MB / 361.5 MB, free: 4.199 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 83.84 kB / 0.4974 GB, free: 7.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2694, allocations: 66.08 MB / 0.5619 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002641/0.272, allocations: 1.685 MB / 0.5636 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002419/0.2723, allocations: 107.6 kB / 0.5637 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.2723, allocations: 3.938 kB / 0.5637 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.746e-05/0.2724, allocations: 19.86 kB / 0.5637 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.84e-05/0.2725, allocations: 39.62 kB / 0.5637 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001012/0.2726, allocations: 19.98 kB / 0.5638 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.2727, allocations: 127.5 kB / 0.5639 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.2728, allocations: 33.22 kB / 0.5639 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.436e-05/0.2729, allocations: 47.86 kB / 0.564 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.851e-05/0.273, allocations: 47.78 kB / 0.564 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.273, allocations: 12 kB / 0.564 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.824e-05/0.273, allocations: 8 kB / 0.564 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.949e-05/0.2731, allocations: 27.91 kB / 0.5641 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.572e-05/0.2731, allocations: 59.73 kB / 0.5641 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.2733, allocations: 121.9 kB / 0.5642 GB, free: 1.914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.2733, allocations: 0 / 0.5642 GB, free: 1.914 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2733, allocations: 0 / 0.5642 GB, free: 1.914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.2733, allocations: 0 / 0.5642 GB, free: 1.914 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004467/0.2737, allocations: 338.1 kB / 0.5645 GB, free: 1.547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.2738, allocations: 12.03 kB / 0.5646 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.2738, allocations: 12.89 kB / 0.5646 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.274, allocations: 134.3 kB / 0.5647 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.274, allocations: 12.55 kB / 0.5647 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.274, allocations: 16.36 kB / 0.5647 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.2742, allocations: 129.5 kB / 0.5649 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.2742, allocations: 8.141 kB / 0.5649 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.2742, allocations: 7.938 kB / 0.5649 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.2742, allocations: 8 kB / 0.5649 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.2744, allocations: 55.97 kB / 0.5649 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006622/0.275, allocations: 483.6 kB / 0.5654 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.2751, allocations: 89.08 kB / 0.5655 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.072e-05/0.2752, allocations: 33.83 kB / 0.5655 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.2752, allocations: 3.938 kB / 0.5655 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.2752, allocations: 30.56 kB / 0.5655 GB, free: 428 kB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.2752, allocations: 0 / 0.5655 GB, free: 428 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004723/0.2757, allocations: 151.6 kB / 0.5657 GB, free: 264 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.2757, allocations: 81.05 kB / 0.5658 GB, free: 164 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.96e-05/0.2758, allocations: 125.8 kB / 0.5659 GB, free: 28 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.2759, allocations: 29.64 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.2759, allocations: 115.8 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.276, allocations: 35.73 kB / 0.5661 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.276, allocations: 29.72 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2762, allocations: 326.8 kB / 0.5664 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.094e-05/0.2762, allocations: 23.98 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.111e-05/0.2763, allocations: 80.58 kB / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.2764, allocations: 124.4 kB / 0.5666 GB, free: 15.19 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2764, allocations: 4 kB / 0.5666 GB, free: 15.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002621/0.2767, allocations: 167.1 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.2767, allocations: 4 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2767, allocations: 4 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000158/0.2769, allocations: 45.83 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.013e-05/0.2769, allocations: 27.98 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.2788, allocations: 2.535 MB / 0.5693 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.06e-05/0.2789, allocations: 15.89 kB / 0.5693 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.2789, allocations: 4 kB / 0.5693 GB, free: 12.14 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.534e-05/0.279, allocations: 127.1 kB / 0.5695 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.279, allocations: 4 kB / 0.5695 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.2791, allocations: 16.03 kB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.2791, allocations: 4 kB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2791, allocations: 0 / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2791, allocations: 0 / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.2793, allocations: 180.6 kB / 0.5697 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2793, allocations: 0 / 0.5697 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.709e-05/0.2794, allocations: 15.98 kB / 0.5697 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.647e-05/0.2795, allocations: 41.64 kB / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.2795, allocations: 3.938 kB / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00178/0.2813, allocations: 2.532 MB / 0.5722 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2813, allocations: 32 / 0.5722 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.2816, allocations: 300.3 kB / 0.5725 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.225e-05/0.2816, allocations: 7.953 kB / 0.5725 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.2816, allocations: 4 kB / 0.5725 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.996e-05/0.2817, allocations: 64 / 0.5725 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.2817, allocations: 12.03 kB / 0.5725 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.2817, allocations: 8 kB / 0.5725 GB, free: 8.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.478e-05/0.2818, allocations: 91.27 kB / 0.5726 GB, free: 8.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2818, allocations: 0 / 0.5726 GB, free: 8.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003367/0.2821, allocations: 39.89 kB / 0.5726 GB, free: 8.461 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.602e-05/0.2822, allocations: 99.17 kB / 0.5727 GB, free: 8.355 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004215/0.2826, allocations: 309.4 kB / 0.573 GB, free: 8.027 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2826, allocations: 0 / 0.573 GB, free: 8.027 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.2829, allocations: 257.3 kB / 0.5733 GB, free: 7.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.2833, allocations: 40.16 kB / 0.5733 GB, free: 7.719 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007204/0.284, allocations: 491.9 kB / 0.5738 GB, free: 7.203 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.2844, allocations: 0.7084 MB / 0.5745 GB, free: 6.469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/0.2844, allocations: 15.44 kB / 0.5745 GB, free: 6.453 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2844, allocations: 0 / 0.5745 GB, free: 6.453 MB / 414.1 MB Notification: Performance of Templates: time 0.004088/0.2885, allocations: 2.459 MB / 0.5769 GB, free: 3.992 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions3/Directions3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.Directions3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.385511443018913]