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.001042/0.001042, allocations: 175.8 kB / 16.76 MB, free: 5.047 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.478/1.478, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.001051/0.001051, allocations: 85.05 kB / 271.3 MB, free: 8.25 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.3615/0.3615, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003687, allocations: 12 kB / 432.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1215, allocations: 58.85 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3093/0.4309, allocations: 87.02 MB / 0.5649 GB, free: 15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.4311, allocations: 77.78 kB / 0.565 GB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01669/0.4478, allocations: 6.261 MB / 0.5711 GB, free: 8.672 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4479, allocations: 6.953 kB / 0.5711 GB, free: 8.668 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.302e-05/0.4479, allocations: 11.98 kB / 0.5711 GB, free: 8.656 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.0009141/0.4488, allocations: 0.5961 MB / 0.5717 GB, free: 8.012 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.4489, allocations: 12.03 kB / 0.5717 GB, free: 8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.577e-05/0.449, allocations: 44.47 kB / 0.5718 GB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.4493, allocations: 288.3 kB / 0.572 GB, free: 7.633 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.4494, allocations: 33.38 kB / 0.5721 GB, free: 7.602 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.466e-05/0.4495, allocations: 40.38 kB / 0.5721 GB, free: 7.562 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006646/0.4501, allocations: 385.6 kB / 0.5725 GB, free: 7.168 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.4502, allocations: 8.094 kB / 0.5725 GB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.4502, allocations: 15.94 kB / 0.5725 GB, free: 7.145 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.4502, allocations: 15.94 kB / 0.5725 GB, free: 7.129 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004946/0.4507, allocations: 254.5 kB / 0.5728 GB, free: 6.883 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.4523, allocations: 1.104 MB / 0.5738 GB, free: 5.719 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005536/0.4529, allocations: 360.9 kB / 0.5742 GB, free: 5.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/0.4532, allocations: 179.2 kB / 0.5744 GB, free: 5.156 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.4532, allocations: 4 kB / 0.5744 GB, free: 5.152 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.4533, allocations: 50.5 kB / 0.5744 GB, free: 5.094 MB / 394.7 MB Notification: Performance of pre-optimization done (n=39): time 2.264e-06/0.4533, allocations: 0 / 0.5744 GB, free: 5.094 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.003716/0.457, allocations: 2.475 MB / 0.5768 GB, free: 2.355 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.4571, allocations: 110.8 kB / 0.5769 GB, free: 2.223 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.4573, allocations: 242.6 kB / 0.5772 GB, free: 1.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.4573, allocations: 29.7 kB / 0.5772 GB, free: 1.945 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.4575, allocations: 184.6 kB / 0.5774 GB, free: 1.762 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.4576, allocations: 201.7 kB / 0.5776 GB, free: 1.562 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/0.4576, allocations: 8 kB / 0.5776 GB, free: 1.555 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4578, allocations: 354.7 kB / 0.5779 GB, free: 1.199 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/0.458, allocations: 137 kB / 0.578 GB, free: 1.066 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.4583, allocations: 239.7 kB / 0.5783 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006107/0.459, allocations: 407.8 kB / 0.5786 GB, free: 380 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.459, allocations: 0 / 0.5786 GB, free: 380 kB / 394.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001019/0.46, allocations: 0.5689 MB / 0.5792 GB, free: 15.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.46, allocations: 8 kB / 0.5792 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.4601, allocations: 4 kB / 0.5792 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003424/0.4604, allocations: 118.5 kB / 0.5793 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003745/0.4608, allocations: 104 kB / 0.5794 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003922/0.4647, allocations: 4.675 MB / 0.584 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.465, allocations: 24.44 kB / 0.584 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/0.465, allocations: 20 kB / 0.584 GB, free: 10.43 MB / 410.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 () * Number of clocked 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 0.0002042/0.4652, allocations: 173.7 kB / 0.5842 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.173e-05/0.4653, allocations: 35.53 kB / 0.5842 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.728e-05/0.4654, allocations: 54.11 kB / 0.5843 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.4654, allocations: 11.94 kB / 0.5843 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.4654, allocations: 4 kB / 0.5843 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.4655, allocations: 0 / 0.5843 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.4674, allocations: 1.341 MB / 0.5856 GB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.4675, allocations: 11.88 kB / 0.5856 GB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004073/0.4679, allocations: 99.88 kB / 0.5857 GB, free: 8.625 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002611/0.4682, allocations: 98.55 kB / 0.5858 GB, free: 8.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.4682, allocations: 12 kB / 0.5858 GB, free: 8.508 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003059/0.4713, allocations: 4.1 MB / 0.5898 GB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4713, allocations: 4.062 kB / 0.5898 GB, free: 4.004 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.4726, allocations: 0.9475 MB / 0.5908 GB, free: 3.023 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.855e-05/0.4727, allocations: 108.7 kB / 0.5909 GB, free: 2.898 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.4728, allocations: 16 kB / 0.5909 GB, free: 2.883 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.4731, allocations: 23.97 kB / 0.5909 GB, free: 2.859 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.4732, allocations: 43.94 kB / 0.5909 GB, free: 2.816 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.4732, allocations: 12 kB / 0.591 GB, free: 2.805 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001637/0.4734, allocations: 174 kB / 0.5911 GB, free: 2.633 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4734, allocations: 0 / 0.5911 GB, free: 2.633 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007095/0.4741, allocations: 128 kB / 0.5912 GB, free: 2.508 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 () * Number of clocked 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.0001559/0.4743, allocations: 111.2 kB / 0.5913 GB, free: 2.391 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.4755, allocations: 0.7782 MB / 0.5921 GB, free: 1.582 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4755, allocations: 0 / 0.5921 GB, free: 1.582 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007376/0.4762, allocations: 0.578 MB / 0.5927 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006683/0.4769, allocations: 64.19 kB / 0.5927 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.4788, allocations: 1.306 MB / 0.594 GB, free: 15.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.4792, allocations: 0.8202 MB / 0.5948 GB, free: 14.71 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001483/0.4793, allocations: 35.27 kB / 0.5948 GB, free: 14.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.143e-05/0.4794, allocations: 31.44 kB / 0.5949 GB, free: 14.65 MB / 426.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4794, allocations: 0 / 0.5949 GB, free: 14.65 MB / 426.7 MB Notification: Performance of Templates: time 0.008653/0.4881, allocations: 4.046 MB / 0.5988 GB, free: 10.62 MB / 426.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/jenkins1/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