Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001557, allocations: 187 kB / 18.09 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.3 MB / 242.1 MB, free: 11.61 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009971/0.000998, allocations: 89.89 kB / 293.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3478/0.3478, allocations: 44.14 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003984, allocations: 12 kB / 461.1 MB, free: 1.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3316, allocations: 61.88 MB / 0.5107 GB, free: 38.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1122/0.4439, allocations: 88.08 MB / 0.5967 GB, free: 6.996 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.4441, allocations: 71.95 kB / 0.5968 GB, free: 6.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01713/0.4613, allocations: 6.447 MB / 0.6031 GB, free: 456 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4613, allocations: 0 / 0.6031 GB, free: 456 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.977e-05/0.4614, allocations: 8 kB / 0.6031 GB, free: 448 kB / 410.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.001144/0.4625, allocations: 0.6087 MB / 0.6037 GB, free: 15.78 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.4626, allocations: 8.031 kB / 0.6037 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.4627, allocations: 44.47 kB / 0.6038 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.4631, allocations: 280.5 kB / 0.604 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.4631, allocations: 29.38 kB / 0.604 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-05/0.4632, allocations: 40.38 kB / 0.6041 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007049/0.4639, allocations: 387.9 kB / 0.6045 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/0.464, allocations: 8.094 kB / 0.6045 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.464, allocations: 19.94 kB / 0.6045 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.464, allocations: 8 kB / 0.6045 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000519/0.4645, allocations: 264.8 kB / 0.6047 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.4663, allocations: 1.093 MB / 0.6058 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005735/0.4669, allocations: 364.3 kB / 0.6062 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/0.4672, allocations: 178.5 kB / 0.6063 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/0.4673, allocations: 11.98 kB / 0.6063 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.4673, allocations: 38.5 kB / 0.6064 GB, free: 12.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=39): time 1.963e-06/0.4673, allocations: 0 / 0.6064 GB, free: 12.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=57): time 0.003961/0.4713, allocations: 2.484 MB / 0.6088 GB, free: 10.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.4714, allocations: 110.8 kB / 0.6089 GB, free: 10 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.4716, allocations: 242.6 kB / 0.6091 GB, free: 9.754 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.4717, allocations: 33.7 kB / 0.6092 GB, free: 9.715 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.4718, allocations: 176.7 kB / 0.6093 GB, free: 9.539 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.4719, allocations: 201.1 kB / 0.6095 GB, free: 9.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/0.472, allocations: 12 kB / 0.6095 GB, free: 9.328 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4721, allocations: 350.7 kB / 0.6099 GB, free: 8.977 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.4724, allocations: 141 kB / 0.61 GB, free: 8.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003111/0.4727, allocations: 235.8 kB / 0.6102 GB, free: 8.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006146/0.4733, allocations: 410 kB / 0.6106 GB, free: 8.133 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.4733, allocations: 0 / 0.6106 GB, free: 8.133 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001022/0.4744, allocations: 0.5693 MB / 0.6112 GB, free: 7.547 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.4744, allocations: 8 kB / 0.6112 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.4744, allocations: 4 kB / 0.6112 GB, free: 7.535 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003557/0.4748, allocations: 118.6 kB / 0.6113 GB, free: 7.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.4752, allocations: 103.8 kB / 0.6114 GB, free: 7.309 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003928/0.4791, allocations: 4.668 MB / 0.616 GB, free: 2.242 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.4794, allocations: 20.03 kB / 0.616 GB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.4794, allocations: 27.88 kB / 0.616 GB, free: 2.195 MB / 426.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.0002251/0.4797, allocations: 177.7 kB / 0.6162 GB, free: 2.012 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.4798, allocations: 35.53 kB / 0.6162 GB, free: 1.977 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.151e-05/0.4799, allocations: 54.11 kB / 0.6163 GB, free: 1.926 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.4799, allocations: 4 kB / 0.6163 GB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.4799, allocations: 4 kB / 0.6163 GB, free: 1.918 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.4799, allocations: 0 / 0.6163 GB, free: 1.918 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.4819, allocations: 1.343 MB / 0.6176 GB, free: 0.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.4819, allocations: 4.031 kB / 0.6176 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/0.4823, allocations: 103.9 kB / 0.6177 GB, free: 404 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002627/0.4826, allocations: 94.5 kB / 0.6178 GB, free: 300 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.4827, allocations: 12.19 kB / 0.6178 GB, free: 288 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00284/0.4855, allocations: 4.115 MB / 0.6218 GB, free: 11.76 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4855, allocations: 0 / 0.6218 GB, free: 11.76 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.4869, allocations: 0.9519 MB / 0.6227 GB, free: 10.78 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.865e-05/0.487, allocations: 104.7 kB / 0.6228 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.487, allocations: 12.06 kB / 0.6229 GB, free: 10.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.4873, allocations: 23.98 kB / 0.6229 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.874e-05/0.4874, allocations: 44.06 kB / 0.6229 GB, free: 10.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.4874, allocations: 27.94 kB / 0.6229 GB, free: 10.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001626/0.4876, allocations: 166 kB / 0.6231 GB, free: 10.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4876, allocations: 0 / 0.6231 GB, free: 10.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006996/0.4883, allocations: 128 kB / 0.6232 GB, free: 10.26 MB / 442.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.0001501/0.4885, allocations: 111.2 kB / 0.6233 GB, free: 10.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.4897, allocations: 0.7734 MB / 0.6241 GB, free: 9.332 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4897, allocations: 4 kB / 0.6241 GB, free: 9.328 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007584/0.4905, allocations: 0.5796 MB / 0.6247 GB, free: 8.711 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006989/0.4912, allocations: 68.73 kB / 0.6247 GB, free: 8.645 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.4932, allocations: 1.306 MB / 0.626 GB, free: 7.297 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.4937, allocations: 0.8202 MB / 0.6268 GB, free: 6.453 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001523/0.4938, allocations: 35.25 kB / 0.6268 GB, free: 6.422 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.496e-05/0.4939, allocations: 31.44 kB / 0.6269 GB, free: 6.391 MB / 442.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4939, allocations: 0 / 0.6269 GB, free: 6.391 MB / 442.7 MB Notification: Performance of Templates: time 0.008529/0.5025, allocations: 4.044 MB / 0.6308 GB, free: 2.359 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches