Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 105.8 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 192.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.422/1.422, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2162/0.2162, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 65.45 kB / 441.8 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1291, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.0175/0.1467, allocations: 11.8 MB / 0.4994 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.1584, allocations: 3.918 MB / 0.5032 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002717/0.1611, allocations: 67.81 kB / 0.5033 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006931/0.1681, allocations: 2.706 MB / 0.5059 GB, free: 9.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006769/0.175, allocations: 1.938 MB / 0.5078 GB, free: 7.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.1771, allocations: 0.694 MB / 0.5085 GB, free: 6.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005918/0.183, allocations: 3.757 MB / 0.5122 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004481/0.1875, allocations: 3.796 MB / 0.5159 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002667/0.1902, allocations: 1.542 MB / 0.5174 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002625/0.1929, allocations: 2.138 MB / 0.5195 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005668/0.1935, allocations: 344 kB / 0.5198 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0019/0.1954, allocations: 1.077 MB / 0.5209 GB, free: 9.855 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001793/0.1972, allocations: 1.94 MB / 0.5228 GB, free: 7.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002228/0.1994, allocations: 2.249 MB / 0.525 GB, free: 5.648 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2677/0.4671, allocations: 7.198 MB / 0.532 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4671, allocations: 0 / 0.532 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4671, allocations: 0 / 0.532 GB, free: 15.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002362/0.4674, allocations: 0 / 0.532 GB, free: 15.27 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02143/0.4888, allocations: 5.328 MB / 0.5372 GB, free: 13.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.4889, allocations: 14.02 kB / 0.5372 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008831/0.4977, allocations: 1.884 MB / 0.539 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007798/0.5055, allocations: 2.4 MB / 0.5414 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003878/0.506, allocations: 244.3 kB / 0.5416 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002006/0.508, allocations: 322 kB / 0.5419 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02689/0.5349, allocations: 10.74 MB / 0.5524 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001581/0.5351, allocations: 43.72 kB / 0.5524 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005423/0.5357, allocations: 152 kB / 0.5526 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00387/0.5395, allocations: 1.979 MB / 0.5545 GB, free: 9.879 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02004/0.5596, allocations: 9.635 MB / 0.5639 GB, free: 7.008 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05838/0.618, allocations: 39.08 MB / 0.6021 GB, free: 1.469 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01458/0.6327, allocations: 3.934 MB / 0.6059 GB, free: 13.4 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002889/0.6356, allocations: 1.894 MB / 0.6078 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/0.6367, allocations: 0.6754 MB / 0.6085 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.835e-05/0.6367, allocations: 47.56 kB / 0.6085 GB, free: 10.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=151): time 5.39e-06/0.6368, allocations: 5.312 kB / 0.6085 GB, free: 10.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=157): time 0.04719/0.684, allocations: 13.93 MB / 0.6221 GB, free: 12.65 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.913e-05/0.6841, allocations: 145.5 kB / 0.6222 GB, free: 12.48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006405/0.6905, allocations: 4.077 MB / 0.6262 GB, free: 8.379 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006064/0.6912, allocations: 45.7 kB / 0.6263 GB, free: 8.328 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002411/0.6936, allocations: 3.132 MB / 0.6293 GB, free: 5.215 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001023/0.6946, allocations: 0.6257 MB / 0.6299 GB, free: 4.598 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00156/0.6962, allocations: 1.196 MB / 0.6311 GB, free: 3.391 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.6963, allocations: 301.1 kB / 0.6314 GB, free: 3.094 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003376/0.6997, allocations: 2.104 MB / 0.6335 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007214/0.7069, allocations: 5.812 MB / 0.6391 GB, free: 9.383 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/0.7182, allocations: 8.574 MB / 0.6475 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001292/0.7184, allocations: 44 kB / 0.6475 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=761) (initialization): time 0.01773/0.7361, allocations: 8.406 MB / 0.6558 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.7363, allocations: 64.72 kB / 0.6558 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001504/0.7364, allocations: 132 kB / 0.6559 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002672/0.7391, allocations: 0.9105 MB / 0.6568 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005081/0.7442, allocations: 1.372 MB / 0.6582 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007573/0.7518, allocations: 5.193 MB / 0.6632 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00573/0.7576, allocations: 315.6 kB / 0.6635 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001463/0.7591, allocations: 378.5 kB / 0.6639 GB, free: 14.82 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (722): * Single equations (assignments): 718 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006329/0.7654, allocations: 2.087 MB / 0.6659 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001464/0.7669, allocations: 351.4 kB / 0.6663 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008424/0.7753, allocations: 3.159 MB / 0.6694 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-05/0.7755, allocations: 16 kB / 0.6694 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.136e-05/0.7755, allocations: 4 kB / 0.6694 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.033e-05/0.7755, allocations: 11.97 kB / 0.6694 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01935/0.7949, allocations: 7.948 MB / 0.6772 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/0.7949, allocations: 5.5 kB / 0.6772 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/0.7966, allocations: 299.5 kB / 0.6774 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002292/0.7989, allocations: 0.7162 MB / 0.6781 GB, free: 156 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001944/0.7991, allocations: 39.97 kB / 0.6782 GB, free: 116 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006694/0.8058, allocations: 4.764 MB / 0.6828 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.8058, allocations: 4 kB / 0.6828 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009598/0.8154, allocations: 5.723 MB / 0.6884 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001945/0.8174, allocations: 0.6252 MB / 0.689 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00045/0.8179, allocations: 27.84 kB / 0.6891 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/0.8193, allocations: 98.45 kB / 0.6892 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000359/0.8197, allocations: 106.8 kB / 0.6893 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.8198, allocations: 55.97 kB / 0.6893 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004998/0.8248, allocations: 2.554 MB / 0.6918 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8248, allocations: 0 / 0.6918 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006178/0.831, allocations: 0.9572 MB / 0.6927 GB, free: 1.008 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (126): * Single equations (assignments): 122 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005382/0.8316, allocations: 150.6 kB / 0.6929 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009718/0.8413, allocations: 5.031 MB / 0.6978 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/0.8414, allocations: 0 / 0.6978 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002574/0.844, allocations: 1.547 MB / 0.6993 GB, free: 10.28 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00306/0.8471, allocations: 449.8 kB / 0.6997 GB, free: 9.852 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/0.8642, allocations: 8.974 MB / 0.7085 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003797/0.868, allocations: 3.237 MB / 0.7117 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004653/0.8727, allocations: 1.891 MB / 0.7135 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009291/0.8737, allocations: 263.3 kB / 0.7138 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of SimCode: time 1.282e-06/0.8737, allocations: 4 kB / 0.7138 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of Templates: time 0.07039/0.9441, allocations: 34.02 MB / 0.747 GB, free: 9.492 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches