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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 183 kB / 16.63 MB, free: 5.137 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.322/1.322, allocations: 205.1 MB / 222.5 MB, free: 8.469 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.001038/0.001038, allocations: 105.5 kB / 269.9 MB, free: 8.426 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.3157/0.3157, allocations: 43.5 MB / 360.7 MB, free: 51.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 51.91 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1095, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.2366/0.3462, allocations: 50.26 MB / 0.5247 GB, free: 33.6 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01991/0.3661, allocations: 10.34 MB / 0.5348 GB, free: 27.35 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009468/0.3756, allocations: 213.8 kB / 0.535 GB, free: 27.32 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0044/0.3801, allocations: 2.696 MB / 0.5376 GB, free: 26.07 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004111/0.3843, allocations: 1.766 MB / 0.5393 GB, free: 25.3 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.3856, allocations: 0.6391 MB / 0.54 GB, free: 25.02 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004953/0.3905, allocations: 5.535 MB / 0.5454 GB, free: 23.39 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003782/0.3943, allocations: 3.767 MB / 0.5491 GB, free: 22.01 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002166/0.3965, allocations: 1.38 MB / 0.5504 GB, free: 21.46 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002865/0.3994, allocations: 2.263 MB / 0.5526 GB, free: 20.68 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006401/0.4, allocations: 243.8 kB / 0.5528 GB, free: 20.68 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002286/0.4023, allocations: 1.027 MB / 0.5538 GB, free: 20.45 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002282/0.4046, allocations: 1.859 MB / 0.5557 GB, free: 19.83 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003452/0.4081, allocations: 2.167 MB / 0.5578 GB, free: 18.34 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009726/0.4178, allocations: 6.871 MB / 0.5645 GB, free: 15.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.4179, allocations: 0 / 0.5645 GB, free: 15.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4179, allocations: 3.938 kB / 0.5645 GB, free: 15.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002674/0.4182, allocations: 0 / 0.5645 GB, free: 15.66 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01992/0.4381, allocations: 5.337 MB / 0.5697 GB, free: 12.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.4382, allocations: 10.22 kB / 0.5697 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007314/0.4455, allocations: 1.888 MB / 0.5716 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005458/0.451, allocations: 2.363 MB / 0.5739 GB, free: 9.543 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.4512, allocations: 241.3 kB / 0.5741 GB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001056/0.4522, allocations: 316.9 kB / 0.5744 GB, free: 9.316 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01847/0.4707, allocations: 10.73 MB / 0.5849 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001573/0.4709, allocations: 43.58 kB / 0.5849 GB, free: 476 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001126/0.472, allocations: 155.8 kB / 0.5851 GB, free: 320 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003405/0.4754, allocations: 1.982 MB / 0.587 GB, free: 14.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01975/0.4952, allocations: 9.634 MB / 0.5964 GB, free: 4.668 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05159/0.5468, allocations: 39.26 MB / 0.6348 GB, free: 12.35 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01291/0.5598, allocations: 3.931 MB / 0.6386 GB, free: 8.258 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002442/0.5623, allocations: 1.884 MB / 0.6404 GB, free: 6.363 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009431/0.5632, allocations: 0.6789 MB / 0.6411 GB, free: 5.574 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.5633, allocations: 47.56 kB / 0.6411 GB, free: 5.52 MB / 458.7 MB Notification: Performance of pre-optimization done (n=151): time 4.128e-06/0.5633, allocations: 0 / 0.6411 GB, free: 5.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=157): time 0.04468/0.608, allocations: 13.93 MB / 0.6547 GB, free: 7.473 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.447e-05/0.6081, allocations: 149.5 kB / 0.6549 GB, free: 7.297 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007927/0.616, allocations: 4.074 MB / 0.6589 GB, free: 3.195 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003826/0.6165, allocations: 49.7 kB / 0.6589 GB, free: 3.141 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00268/0.6191, allocations: 3.122 MB / 0.662 GB, free: 15.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001075/0.6202, allocations: 0.6211 MB / 0.6626 GB, free: 15.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002046/0.6223, allocations: 1.201 MB / 0.6637 GB, free: 14.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.6224, allocations: 305.1 kB / 0.664 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003161/0.6256, allocations: 2.104 MB / 0.6661 GB, free: 11.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005365/0.631, allocations: 5.807 MB / 0.6718 GB, free: 4.047 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009212/0.6402, allocations: 8.576 MB / 0.6801 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.057e-05/0.6403, allocations: 36 kB / 0.6802 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of matching and sorting (n=761) (initialization): time 0.01579/0.6561, allocations: 8.427 MB / 0.6884 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.6563, allocations: 60 kB / 0.6885 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000225/0.6565, allocations: 132 kB / 0.6886 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002671/0.6592, allocations: 0.911 MB / 0.6895 GB, free: 48 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2001/0.8593, allocations: 1.37 MB / 0.6908 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0071/0.8665, allocations: 4.846 MB / 0.6955 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00463/0.8711, allocations: 319.5 kB / 0.6958 GB, free: 150.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/0.8723, allocations: 376.8 kB / 0.6962 GB, free: 150.2 MB / 0.4948 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.003522/0.8759, allocations: 2.087 MB / 0.6982 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005634/0.8764, allocations: 344.7 kB / 0.6986 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005302/0.8817, allocations: 3.172 MB / 0.7017 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/0.8818, allocations: 18.31 kB / 0.7017 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.8818, allocations: 3.344 kB / 0.7017 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.8818, allocations: 9.594 kB / 0.7017 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01242/0.8942, allocations: 7.948 MB / 0.7095 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.258e-06/0.8943, allocations: 4.031 kB / 0.7095 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/0.8956, allocations: 304.2 kB / 0.7098 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001898/0.8975, allocations: 0.7136 MB / 0.7105 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/0.8976, allocations: 42.64 kB / 0.7105 GB, free: 145.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004547/0.9022, allocations: 4.444 MB / 0.7148 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.9022, allocations: 2.906 kB / 0.7148 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04615/0.9483, allocations: 27.82 MB / 0.742 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/0.9495, allocations: 0.619 MB / 0.7426 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003174/0.9499, allocations: 23.78 kB / 0.7426 GB, free: 131.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.9511, allocations: 94.81 kB / 0.7427 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002862/0.9514, allocations: 101.5 kB / 0.7428 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/0.9515, allocations: 58.03 kB / 0.7429 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003295/0.9548, allocations: 2.555 MB / 0.7454 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.9549, allocations: 0 / 0.7454 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00494/0.9598, allocations: 1.244 MB / 0.7466 GB, free: 130.3 MB / 0.4948 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.0003699/0.9602, allocations: 167.8 kB / 0.7467 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006305/0.9665, allocations: 5.008 MB / 0.7516 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.9665, allocations: 3.438 kB / 0.7516 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001712/0.9683, allocations: 1.552 MB / 0.7532 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/0.9707, allocations: 425 kB / 0.7536 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01533/0.9861, allocations: 12.22 MB / 0.7655 GB, free: 114 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002973/0.9891, allocations: 3.299 MB / 0.7687 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003892/0.993, allocations: 1.901 MB / 0.7706 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006963/0.9937, allocations: 271.3 kB / 0.7708 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.9937, allocations: 0 / 0.7708 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.05628/1.05, allocations: 41.59 MB / 0.8114 GB, free: 67 MB / 0.4948 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@2/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