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.001403/0.001403, allocations: 102.8 kB / 16.27 MB, free: 6.41 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.001422/0.001422, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.616/1.616, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2102/0.2102, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.002475/0.002475, allocations: 69.27 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1444, allocations: 57.79 MB / 440.5 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01217/0.1566, allocations: 11.79 MB / 452.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009606/0.1663, allocations: 3.922 MB / 456.2 MB, free: 7.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002494/0.1688, allocations: 63.88 kB / 456.3 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00599/0.1749, allocations: 2.706 MB / 459 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007328/0.1823, allocations: 1.895 MB / 460.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.1848, allocations: 0.6862 MB / 461.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00673/0.1915, allocations: 3.75 MB / 465.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005289/0.1969, allocations: 3.789 MB / 469.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003307/0.2002, allocations: 1.553 MB / 470.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003485/0.2037, allocations: 2.13 MB / 472.8 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001045/0.2048, allocations: 344 kB / 473.1 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002366/0.2072, allocations: 1.073 MB / 474.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001913/0.2091, allocations: 1.925 MB / 476.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003173/0.2123, allocations: 2.249 MB / 478.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009445/0.2218, allocations: 6.959 MB / 485.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.2218, allocations: 0 / 485.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.2218, allocations: 0 / 485.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002698/0.2221, allocations: 0 / 485.4 MB, free: 9.863 MB / 366.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.02025/0.2424, allocations: 5.337 MB / 490.7 MB, free: 4.457 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.2424, allocations: 11.89 kB / 490.7 MB, free: 4.445 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007619/0.2501, allocations: 1.886 MB / 492.6 MB, free: 2.551 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005923/0.256, allocations: 2.369 MB / 495 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/0.2563, allocations: 238.2 kB / 495.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001547/0.2579, allocations: 319.8 kB / 495.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02233/0.2802, allocations: 10.74 MB / 0.4944 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001296/0.2804, allocations: 39.69 kB / 0.4944 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004931/0.2809, allocations: 151.8 kB / 0.4946 GB, free: 3.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003511/0.2844, allocations: 1.982 MB / 0.4965 GB, free: 2.004 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02005/0.3045, allocations: 9.638 MB / 0.5059 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3067/0.6112, allocations: 39.23 MB / 0.5442 GB, free: 60.53 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01373/0.625, allocations: 3.936 MB / 0.5481 GB, free: 59.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00268/0.6277, allocations: 1.884 MB / 0.5499 GB, free: 59.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008569/0.6286, allocations: 0.6754 MB / 0.5506 GB, free: 59.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.315e-05/0.6287, allocations: 49.97 kB / 0.5506 GB, free: 59.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=151): time 5.851e-06/0.6287, allocations: 0 / 0.5506 GB, free: 59.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=157): time 0.04163/0.6703, allocations: 13.93 MB / 0.5642 GB, free: 54.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.6704, allocations: 146.5 kB / 0.5644 GB, free: 54.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004866/0.6753, allocations: 4.072 MB / 0.5683 GB, free: 52.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003334/0.6756, allocations: 47.89 kB / 0.5684 GB, free: 52.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001586/0.6772, allocations: 3.124 MB / 0.5714 GB, free: 49.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006735/0.6779, allocations: 0.6225 MB / 0.572 GB, free: 48.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001265/0.6792, allocations: 1.196 MB / 0.5732 GB, free: 48.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.193e-05/0.6793, allocations: 312.6 kB / 0.5735 GB, free: 47.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002358/0.6816, allocations: 2.101 MB / 0.5756 GB, free: 46.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003642/0.6853, allocations: 5.81 MB / 0.5812 GB, free: 38.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007101/0.6924, allocations: 8.577 MB / 0.5896 GB, free: 28.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.828e-05/0.6925, allocations: 40 kB / 0.5896 GB, free: 28.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=761) (initialization): time 0.01387/0.7064, allocations: 8.423 MB / 0.5979 GB, free: 19.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.621e-05/0.7065, allocations: 60 kB / 0.5979 GB, free: 19.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001162/0.7066, allocations: 132.8 kB / 0.598 GB, free: 19.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002169/0.7088, allocations: 0.9157 MB / 0.5989 GB, free: 18.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004224/0.7131, allocations: 1.372 MB / 0.6003 GB, free: 17.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005786/0.7189, allocations: 5.191 MB / 0.6054 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005214/0.7241, allocations: 327.5 kB / 0.6057 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001228/0.7254, allocations: 376.1 kB / 0.606 GB, free: 11.38 MB / 414.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 (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.004453/0.7299, allocations: 2.082 MB / 0.6081 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009852/0.7309, allocations: 347.5 kB / 0.6084 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006207/0.7371, allocations: 3.169 MB / 0.6115 GB, free: 5.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.201e-05/0.7372, allocations: 20.38 kB / 0.6115 GB, free: 5.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/0.7372, allocations: 4 kB / 0.6115 GB, free: 5.727 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.18e-05/0.7372, allocations: 7.969 kB / 0.6115 GB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01737/0.7546, allocations: 7.955 MB / 0.6193 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.24e-05/0.7547, allocations: 11.97 kB / 0.6193 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/0.7563, allocations: 303.5 kB / 0.6196 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00224/0.7586, allocations: 0.7147 MB / 0.6203 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002912/0.7589, allocations: 35.97 kB / 0.6203 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007051/0.7659, allocations: 4.77 MB / 0.625 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.766, allocations: 3.938 kB / 0.625 GB, free: 7.781 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/0.7773, allocations: 5.721 MB / 0.6306 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002058/0.7794, allocations: 0.6292 MB / 0.6312 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001238/0.7807, allocations: 24 kB / 0.6312 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002162/0.7829, allocations: 91.88 kB / 0.6313 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003825/0.7833, allocations: 100.7 kB / 0.6314 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000183/0.7835, allocations: 55.97 kB / 0.6314 GB, free: 1.113 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.005897/0.7894, allocations: 2.554 MB / 0.6339 GB, free: 14.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.223e-06/0.7894, allocations: 0 / 0.6339 GB, free: 14.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007287/0.7967, allocations: 0.9634 MB / 0.6349 GB, free: 13.59 MB / 446.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 (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.0007646/0.7975, allocations: 157.6 kB / 0.635 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01133/0.8089, allocations: 5.699 MB / 0.6406 GB, free: 7.766 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/0.8089, allocations: 0 / 0.6406 GB, free: 7.766 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002583/0.8115, allocations: 1.55 MB / 0.6421 GB, free: 6.199 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003903/0.8154, allocations: 450.5 kB / 0.6425 GB, free: 5.777 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01967/0.8351, allocations: 9.098 MB / 0.6514 GB, free: 12.65 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004573/0.8397, allocations: 3.239 MB / 0.6546 GB, free: 9.391 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004985/0.8448, allocations: 1.886 MB / 0.6564 GB, free: 7.496 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007934/0.8456, allocations: 271.3 kB / 0.6567 GB, free: 7.23 MB / 462.1 MB Notification: Performance of SimCode: time 1.482e-06/0.8456, allocations: 0 / 0.6567 GB, free: 7.23 MB / 462.1 MB Notification: Performance of Templates: time 0.07719/0.9228, allocations: 37.28 MB / 0.6931 GB, free: 2.035 MB / 494.1 MB 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