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.001612/0.001612, allocations: 98.23 kB / 15.98 MB, free: 6.352 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.001653/0.001653, allocations: 194.5 kB / 16.91 MB, free: 6.191 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.548/1.548, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3598/0.3598, allocations: 43.5 MB / 313.6 MB, free: 8.527 MB / 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.001389/0.001389, allocations: 71.91 kB / 382.2 MB, free: 8.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1409, allocations: 57.79 MB / 440 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.3069/0.4479, allocations: 50.26 MB / 490.3 MB, free: 19.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02567/0.4736, allocations: 10.24 MB / 0.4888 GB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01285/0.4865, allocations: 204.9 kB / 0.489 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005587/0.4922, allocations: 2.607 MB / 0.4915 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006465/0.4987, allocations: 1.757 MB / 0.4932 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001968/0.5007, allocations: 0.6495 MB / 0.4939 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006793/0.5075, allocations: 3.793 MB / 0.4976 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008019/0.5156, allocations: 4.004 MB / 0.5015 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004462/0.5202, allocations: 1.569 MB / 0.503 GB, free: 6.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005053/0.5253, allocations: 2.365 MB / 0.5053 GB, free: 5.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001662/0.527, allocations: 346.5 kB / 0.5057 GB, free: 5.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003342/0.5303, allocations: 1.085 MB / 0.5067 GB, free: 5.734 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003163/0.5335, allocations: 1.949 MB / 0.5086 GB, free: 5.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003962/0.5375, allocations: 2.281 MB / 0.5109 GB, free: 3.422 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.5488, allocations: 7.001 MB / 0.5177 GB, free: 15.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/0.5488, allocations: 0 / 0.5177 GB, free: 15.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5488, allocations: 0 / 0.5177 GB, free: 15.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003361/0.5492, allocations: 0 / 0.5177 GB, free: 15.88 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02337/0.5726, allocations: 5.344 MB / 0.5229 GB, free: 12.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/0.5727, allocations: 12.7 kB / 0.5229 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0076/0.5803, allocations: 1.883 MB / 0.5248 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007328/0.5876, allocations: 2.365 MB / 0.5271 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002621/0.588, allocations: 242.1 kB / 0.5273 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001506/0.5895, allocations: 319.8 kB / 0.5276 GB, free: 7.477 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02416/0.6136, allocations: 10.74 MB / 0.5381 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/0.6138, allocations: 39.59 kB / 0.5381 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005212/0.6144, allocations: 151.9 kB / 0.5383 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003503/0.6179, allocations: 1.982 MB / 0.5402 GB, free: 9.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0211/0.639, allocations: 9.634 MB / 0.5496 GB, free: 260 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05437/0.6934, allocations: 39.26 MB / 0.588 GB, free: 7.934 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01434/0.7078, allocations: 3.939 MB / 0.5918 GB, free: 3.836 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002637/0.7105, allocations: 1.878 MB / 0.5936 GB, free: 1.949 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009444/0.7114, allocations: 0.6789 MB / 0.5943 GB, free: 1.16 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/0.7115, allocations: 55.48 kB / 0.5944 GB, free: 1.098 MB / 462.1 MB Notification: Performance of pre-optimization done (n=151): time 4.559e-06/0.7115, allocations: 0 / 0.5944 GB, free: 1.098 MB / 462.1 MB Notification: Performance of matching and sorting (n=157): time 0.04738/0.7589, allocations: 13.92 MB / 0.6079 GB, free: 3.062 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.55e-05/0.7591, allocations: 149.5 kB / 0.6081 GB, free: 2.887 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006635/0.7657, allocations: 4.07 MB / 0.6121 GB, free: 14.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004345/0.7662, allocations: 53.89 kB / 0.6121 GB, free: 14.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002417/0.7686, allocations: 3.118 MB / 0.6152 GB, free: 11.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00107/0.7697, allocations: 0.6288 MB / 0.6158 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001716/0.7714, allocations: 1.194 MB / 0.6169 GB, free: 9.723 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.7716, allocations: 301.1 kB / 0.6172 GB, free: 9.426 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003274/0.7748, allocations: 2.108 MB / 0.6193 GB, free: 7.312 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005608/0.7805, allocations: 5.807 MB / 0.625 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/0.7911, allocations: 8.579 MB / 0.6333 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001326/0.7912, allocations: 36 kB / 0.6334 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=761) (initialization): time 0.3382/1.129, allocations: 8.414 MB / 0.6416 GB, free: 151.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/1.13, allocations: 68.09 kB / 0.6417 GB, free: 151.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001941/1.13, allocations: 132.6 kB / 0.6418 GB, free: 151.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002412/1.132, allocations: 0.9115 MB / 0.6427 GB, free: 151.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004764/1.137, allocations: 1.375 MB / 0.644 GB, free: 151.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005832/1.143, allocations: 5.191 MB / 0.6491 GB, free: 149.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005432/1.148, allocations: 324.1 kB / 0.6494 GB, free: 149.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001534/1.15, allocations: 372.5 kB / 0.6497 GB, free: 149.8 MB / 0.4981 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.004717/1.155, allocations: 2.084 MB / 0.6518 GB, free: 149.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007762/1.155, allocations: 346.9 kB / 0.6521 GB, free: 149.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005181/1.161, allocations: 3.167 MB / 0.6552 GB, free: 148.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.969e-05/1.161, allocations: 16.22 kB / 0.6552 GB, free: 148.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/1.161, allocations: 13.48 kB / 0.6552 GB, free: 148.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/1.161, allocations: 9.188 kB / 0.6552 GB, free: 148.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01385/1.175, allocations: 7.951 MB / 0.663 GB, free: 145.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/1.175, allocations: 4 kB / 0.663 GB, free: 145.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/1.176, allocations: 295.5 kB / 0.6633 GB, free: 145.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002133/1.178, allocations: 0.7247 MB / 0.664 GB, free: 145.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001832/1.178, allocations: 41.88 kB / 0.664 GB, free: 145.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006577/1.185, allocations: 4.76 MB / 0.6687 GB, free: 142.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/1.185, allocations: 1.344 kB / 0.6687 GB, free: 142.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/1.196, allocations: 5.724 MB / 0.6743 GB, free: 140.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002215/1.198, allocations: 0.6327 MB / 0.6749 GB, free: 140.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006446/1.198, allocations: 24.73 kB / 0.6749 GB, free: 140.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/1.2, allocations: 94.19 kB / 0.675 GB, free: 140.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003972/1.2, allocations: 95.78 kB / 0.6751 GB, free: 140.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/1.2, allocations: 60.31 kB / 0.6752 GB, free: 140.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005827/1.206, allocations: 2.56 MB / 0.6777 GB, free: 139.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.52e-07/1.206, allocations: 0 / 0.6777 GB, free: 139.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008487/1.215, allocations: 0.9577 MB / 0.6786 GB, free: 139.2 MB / 0.4981 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.0006851/1.216, allocations: 163.4 kB / 0.6787 GB, free: 139.1 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01185/1.227, allocations: 5.693 MB / 0.6843 GB, free: 137.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.227, allocations: 4 kB / 0.6843 GB, free: 137.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002216/1.23, allocations: 1.552 MB / 0.6858 GB, free: 136.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003037/1.233, allocations: 438.9 kB / 0.6862 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01751/1.25, allocations: 11.05 MB / 0.697 GB, free: 130.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003479/1.254, allocations: 3.236 MB / 0.7002 GB, free: 129.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004713/1.259, allocations: 1.89 MB / 0.702 GB, free: 128.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008159/1.259, allocations: 269.9 kB / 0.7023 GB, free: 128.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.553e-06/1.259, allocations: 0 / 0.7023 GB, free: 128.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.06361/1.323, allocations: 37.2 MB / 0.7386 GB, free: 92.48 MB / 0.4981 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches