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.0009903/0.0009904, allocations: 97.3 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 172.6 kB / 16.57 MB, free: 6.391 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.36/1.36, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.3306/0.3306, allocations: 43.55 MB / 314.5 MB, free: 8.988 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.0004923/0.0004925, allocations: 12 kB / 383.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1065, allocations: 58.86 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.2176/0.3241, allocations: 43.04 MB / 485.8 MB, free: 24.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01996/0.3441, allocations: 10.25 MB / 496 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008844/0.353, allocations: 208.1 kB / 496.2 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006934/0.36, allocations: 2.112 MB / 498.4 MB, free: 16.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02089/0.3809, allocations: 6.204 MB / 0.4927 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003693/0.3846, allocations: 0.5069 MB / 0.4932 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005482/0.3901, allocations: 2.126 MB / 0.4953 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008829/0.399, allocations: 4.473 MB / 0.4997 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002972/0.402, allocations: 1.003 MB / 0.5007 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003461/0.4055, allocations: 1.358 MB / 0.502 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001114/0.4067, allocations: 142.2 kB / 0.5021 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002758/0.4094, allocations: 0.7586 MB / 0.5029 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002892/0.4124, allocations: 1.552 MB / 0.5044 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002493/0.4149, allocations: 0.8327 MB / 0.5052 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009042/0.4239, allocations: 5.543 MB / 0.5106 GB, free: 6.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.424, allocations: 0 / 0.5106 GB, free: 6.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.424, allocations: 0 / 0.5106 GB, free: 6.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003436/0.4243, allocations: 4.969 kB / 0.5106 GB, free: 6.582 MB / 382.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.01932/0.4437, allocations: 4.529 MB / 0.515 GB, free: 3.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.4437, allocations: 9 kB / 0.515 GB, free: 3.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008709/0.4524, allocations: 2.236 MB / 0.5172 GB, free: 2.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007264/0.4597, allocations: 2.528 MB / 0.5197 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002967/0.4601, allocations: 236.8 kB / 0.5199 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001895/0.462, allocations: 324.2 kB / 0.5202 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02658/0.4886, allocations: 10.78 MB / 0.5308 GB, free: 5.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002286/0.4889, allocations: 43.64 kB / 0.5308 GB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001646/0.4905, allocations: 155.8 kB / 0.5309 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003824/0.4944, allocations: 1.99 MB / 0.5329 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02171/0.5161, allocations: 9.693 MB / 0.5424 GB, free: 9.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06076/0.5769, allocations: 39.28 MB / 0.5807 GB, free: 1.152 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01337/0.5903, allocations: 3.985 MB / 0.5846 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/0.5914, allocations: 0.6867 MB / 0.5853 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/0.5915, allocations: 51.5 kB / 0.5853 GB, free: 12.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=151): time 4.83e-06/0.5915, allocations: 0 / 0.5853 GB, free: 12.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=157): time 0.05081/0.6423, allocations: 14.27 MB / 0.5993 GB, free: 13.71 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.6424, allocations: 149.5 kB / 0.5994 GB, free: 13.54 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008054/0.6505, allocations: 4.188 MB / 0.6035 GB, free: 9.324 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004734/0.651, allocations: 49.69 kB / 0.6035 GB, free: 9.27 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002436/0.6535, allocations: 3.133 MB / 0.6066 GB, free: 6.09 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009883/0.6545, allocations: 0.625 MB / 0.6072 GB, free: 5.457 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005576/0.6551, allocations: 112 kB / 0.6073 GB, free: 5.348 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0005048/0.6556, allocations: 0.5499 MB / 0.6079 GB, free: 4.789 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003546/0.6591, allocations: 2.08 MB / 0.6099 GB, free: 2.703 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006004/0.6652, allocations: 5.756 MB / 0.6155 GB, free: 11.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005544/0.6707, allocations: 3.377 MB / 0.6188 GB, free: 7.707 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000127/0.6709, allocations: 40 kB / 0.6189 GB, free: 7.668 MB / 494.1 MB Notification: Performance of matching and sorting (n=757) (initialization): time 0.2368/0.9078, allocations: 8.349 MB / 0.627 GB, free: 134.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.43e-05/0.9079, allocations: 62.25 kB / 0.6271 GB, free: 134.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001702/0.9081, allocations: 136.7 kB / 0.6272 GB, free: 134.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002298/0.9104, allocations: 0.9301 MB / 0.6281 GB, free: 134.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004236/0.9146, allocations: 1.37 MB / 0.6294 GB, free: 134.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005947/0.9206, allocations: 4.966 MB / 0.6343 GB, free: 133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005814/0.9264, allocations: 323.2 kB / 0.6346 GB, free: 133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009776/0.9274, allocations: 378.8 kB / 0.635 GB, free: 133 MB / 494.1 MB 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 (718): * Single equations (assignments): 714 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003831/0.9313, allocations: 2.083 MB / 0.637 GB, free: 132.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005414/0.9318, allocations: 349.9 kB / 0.6373 GB, free: 132.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004934/0.9368, allocations: 3.166 MB / 0.6404 GB, free: 132.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/0.9368, allocations: 20.66 kB / 0.6404 GB, free: 132.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.9368, allocations: 6.562 kB / 0.6404 GB, free: 132.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.9369, allocations: 10.3 kB / 0.6405 GB, free: 132.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01291/0.9498, allocations: 7.981 MB / 0.6482 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.9498, allocations: 3.375 kB / 0.6483 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.9512, allocations: 308.9 kB / 0.6485 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002016/0.9532, allocations: 0.719 MB / 0.6492 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001722/0.9534, allocations: 40.36 kB / 0.6493 GB, free: 129.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006033/0.9595, allocations: 4.535 MB / 0.6537 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.9595, allocations: 2.219 kB / 0.6537 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/0.9695, allocations: 5.879 MB / 0.6595 GB, free: 125.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002509/0.9721, allocations: 0.6411 MB / 0.6601 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005654/0.9726, allocations: 24.86 kB / 0.6601 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/0.9741, allocations: 96.7 kB / 0.6602 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003381/0.9744, allocations: 112.9 kB / 0.6603 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/0.9746, allocations: 51.72 kB / 0.6604 GB, free: 124.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005327/0.9799, allocations: 2.639 MB / 0.6629 GB, free: 123.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.9799, allocations: 1.094 kB / 0.6629 GB, free: 123.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006831/0.9867, allocations: 0.9737 MB / 0.6639 GB, free: 123.7 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006292/0.9874, allocations: 166.4 kB / 0.664 GB, free: 123.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008502/0.9959, allocations: 5.002 MB / 0.6689 GB, free: 122.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.996, allocations: 0 / 0.6689 GB, free: 122.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002065/0.998, allocations: 1.55 MB / 0.6704 GB, free: 121.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002413/1, allocations: 402.4 kB / 0.6708 GB, free: 121.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/1.017, allocations: 10.64 MB / 0.6812 GB, free: 115.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00516/1.023, allocations: 3.325 MB / 0.6845 GB, free: 114.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005252/1.028, allocations: 1.894 MB / 0.6863 GB, free: 114.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/1.029, allocations: 273.1 kB / 0.6866 GB, free: 113.8 MB / 494.1 MB Notification: Performance of SimCode: time 7.81e-07/1.029, allocations: 0 / 0.6866 GB, free: 113.8 MB / 494.1 MB Notification: Performance of Templates: time 0.06372/1.093, allocations: 35.25 MB / 0.721 GB, free: 80.35 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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