Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 183.1 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008273/0.0008274, allocations: 90.61 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3768/0.3768, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.296e-05/2.298e-05, allocations: 4 kB / 425.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1125, allocations: 58.85 MB / 484.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3562/0.4688, allocations: 86.89 MB / 0.5577 GB, free: 16.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.4691, allocations: 67.23 kB / 0.5577 GB, free: 16.94 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01449/0.4836, allocations: 6.266 MB / 0.5638 GB, free: 13.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4836, allocations: 0 / 0.5638 GB, free: 13.24 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.01e-05/0.4836, allocations: 8 kB / 0.5638 GB, free: 13.23 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.000726/0.4844, allocations: 0.5766 MB / 0.5644 GB, free: 12.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.4844, allocations: 9.672 kB / 0.5644 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.87e-05/0.4845, allocations: 47.47 kB / 0.5645 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.4848, allocations: 272.1 kB / 0.5647 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.4849, allocations: 33.62 kB / 0.5648 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.326e-05/0.4849, allocations: 48.59 kB / 0.5648 GB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005784/0.4855, allocations: 349.8 kB / 0.5651 GB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.4855, allocations: 5.312 kB / 0.5651 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.4856, allocations: 16.62 kB / 0.5652 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.4856, allocations: 15.94 kB / 0.5652 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/0.4859, allocations: 212 kB / 0.5654 GB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.4872, allocations: 1.095 MB / 0.5664 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.4875, allocations: 341.5 kB / 0.5668 GB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.4877, allocations: 164 kB / 0.5669 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.4877, allocations: 11.06 kB / 0.5669 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.4878, allocations: 42.06 kB / 0.567 GB, free: 10.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=39): time 2.374e-06/0.4878, allocations: 0 / 0.567 GB, free: 10.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.002481/0.4903, allocations: 2.267 MB / 0.5692 GB, free: 8.422 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.4903, allocations: 110.8 kB / 0.5693 GB, free: 8.289 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.4905, allocations: 220.3 kB / 0.5695 GB, free: 8.102 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.4905, allocations: 32.27 kB / 0.5695 GB, free: 8.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.4906, allocations: 181.1 kB / 0.5697 GB, free: 7.926 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.181e-05/0.4907, allocations: 197.7 kB / 0.5699 GB, free: 7.754 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.566e-05/0.4907, allocations: 7 kB / 0.5699 GB, free: 7.754 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.766e-05/0.4908, allocations: 352.8 kB / 0.5702 GB, free: 7.418 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.4909, allocations: 115.6 kB / 0.5704 GB, free: 7.348 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.4911, allocations: 210.1 kB / 0.5706 GB, free: 7.156 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.4913, allocations: 153.8 kB / 0.5707 GB, free: 7.062 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4913, allocations: 0 / 0.5707 GB, free: 7.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006582/0.492, allocations: 0.5191 MB / 0.5712 GB, free: 6.652 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.492, allocations: 8 kB / 0.5712 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.492, allocations: 4 kB / 0.5712 GB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000296/0.4923, allocations: 123.4 kB / 0.5713 GB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.4927, allocations: 103.6 kB / 0.5714 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/0.4952, allocations: 4.665 MB / 0.576 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.4954, allocations: 23.45 kB / 0.576 GB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.4954, allocations: 19.69 kB / 0.576 GB, free: 1.758 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.069e-05/0.4955, allocations: 134.7 kB / 0.5762 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.042e-05/0.4956, allocations: 43.58 kB / 0.5762 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.665e-05/0.4957, allocations: 50.89 kB / 0.5762 GB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.4957, allocations: 7.938 kB / 0.5763 GB, free: 1.574 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.4957, allocations: 4 kB / 0.5763 GB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4957, allocations: 3.984 kB / 0.5763 GB, free: 1.566 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.4971, allocations: 1.305 MB / 0.5775 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4971, allocations: 0 / 0.5775 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003809/0.4975, allocations: 99.39 kB / 0.5776 GB, free: 368 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002097/0.4977, allocations: 93.67 kB / 0.5777 GB, free: 280 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.4977, allocations: 10.94 kB / 0.5777 GB, free: 276 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002659/0.5004, allocations: 4.103 MB / 0.5817 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5004, allocations: 0 / 0.5817 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009933/0.5014, allocations: 0.9442 MB / 0.5827 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.548e-05/0.5015, allocations: 100.7 kB / 0.5828 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.5015, allocations: 16.94 kB / 0.5828 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.5018, allocations: 18.48 kB / 0.5828 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.336e-05/0.5019, allocations: 42.12 kB / 0.5828 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.5019, allocations: 15.38 kB / 0.5828 GB, free: 11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001368/0.502, allocations: 174.5 kB / 0.583 GB, free: 10.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.533e-06/0.5021, allocations: 0 / 0.583 GB, free: 10.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005896/0.5026, allocations: 120.3 kB / 0.5831 GB, free: 10.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001421/0.5028, allocations: 121.7 kB / 0.5832 GB, free: 10.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009027/0.5037, allocations: 0.7292 MB / 0.584 GB, free: 9.996 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5037, allocations: 3.938 kB / 0.584 GB, free: 9.992 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006053/0.5043, allocations: 0.5593 MB / 0.5845 GB, free: 9.461 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.5048, allocations: 47.78 kB / 0.5846 GB, free: 9.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.5061, allocations: 0.9027 MB / 0.5854 GB, free: 8.582 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.5064, allocations: 0.8444 MB / 0.5863 GB, free: 7.703 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.5066, allocations: 39.25 kB / 0.5863 GB, free: 7.664 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.088e-05/0.5066, allocations: 27.44 kB / 0.5863 GB, free: 7.641 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5066, allocations: 0 / 0.5863 GB, free: 7.641 MB / 410.7 MB Notification: Performance of Templates: time 0.007218/0.5139, allocations: 4.02 MB / 0.5902 GB, free: 3.645 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches