Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001394/0.001394, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001868/0.001868, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 46.12 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001463, allocations: 72.66 kB / 417.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1211, allocations: 62.46 MB / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01405/0.1352, allocations: 13.02 MB / 493.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009002/0.1442, allocations: 4.295 MB / 497.4 MB, free: 3.836 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002324/0.1466, allocations: 83.75 kB / 497.5 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007073/0.1537, allocations: 3.699 MB / 0.4894 GB, free: 44 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005681/0.1594, allocations: 1.976 MB / 0.4914 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.1617, allocations: 0.8149 MB / 0.4922 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005999/0.1677, allocations: 4.206 MB / 0.4963 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006769/0.1745, allocations: 4.852 MB / 0.501 GB, free: 4.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003675/0.1782, allocations: 1.846 MB / 0.5028 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2331/0.4113, allocations: 2.458 MB / 0.5052 GB, free: 16.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001747/0.4131, allocations: 415.1 kB / 0.5056 GB, free: 16.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002938/0.4161, allocations: 1.129 MB / 0.5067 GB, free: 16.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002645/0.4188, allocations: 2.188 MB / 0.5088 GB, free: 16.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003877/0.4226, allocations: 2.591 MB / 0.5114 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.4329, allocations: 7.838 MB / 0.519 GB, free: 14.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.238e-06/0.433, allocations: 2.594 kB / 0.519 GB, free: 14.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.433, allocations: 0 / 0.519 GB, free: 14.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004317/0.4335, allocations: 1.031 kB / 0.519 GB, free: 14.62 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.02654/0.46, allocations: 6.199 MB / 0.5251 GB, free: 11.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.4601, allocations: 13.19 kB / 0.5251 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00803/0.4681, allocations: 1.964 MB / 0.527 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006279/0.4744, allocations: 2.625 MB / 0.5296 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001968/0.4746, allocations: 296.3 kB / 0.5299 GB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001272/0.4759, allocations: 393 kB / 0.5302 GB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0214/0.4973, allocations: 12.2 MB / 0.5421 GB, free: 2.746 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001336/0.4975, allocations: 48.19 kB / 0.5422 GB, free: 2.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005453/0.4981, allocations: 182.9 kB / 0.5424 GB, free: 2.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003704/0.5018, allocations: 2.189 MB / 0.5445 GB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02422/0.526, allocations: 11.2 MB / 0.5554 GB, free: 6.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06928/0.5953, allocations: 46.1 MB / 0.6005 GB, free: 8.078 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01924/0.6146, allocations: 5.491 MB / 0.6058 GB, free: 2.453 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004965/0.6196, allocations: 3.438 MB / 0.6092 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/0.6209, allocations: 0.6962 MB / 0.6099 GB, free: 14.22 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.448e-05/0.621, allocations: 59.86 kB / 0.6099 GB, free: 14.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=203): time 6.412e-06/0.621, allocations: 0 / 0.6099 GB, free: 14.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=234): time 0.08745/0.7085, allocations: 27.28 MB / 0.6366 GB, free: 2.793 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/0.7087, allocations: 153.7 kB / 0.6367 GB, free: 2.613 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01032/0.719, allocations: 4.4 MB / 0.641 GB, free: 14.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008734/0.7199, allocations: 57.7 kB / 0.6411 GB, free: 14.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00293/0.7229, allocations: 3.39 MB / 0.6444 GB, free: 10.74 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001792/0.7247, allocations: 0.8845 MB / 0.6452 GB, free: 9.859 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003346/0.728, allocations: 1.407 MB / 0.6466 GB, free: 8.441 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.7282, allocations: 309.1 kB / 0.6469 GB, free: 8.137 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00488/0.733, allocations: 3.276 MB / 0.6501 GB, free: 4.855 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007242/0.7403, allocations: 7.094 MB / 0.657 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01344/0.7538, allocations: 11.16 MB / 0.6679 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001103/0.7539, allocations: 36 kB / 0.668 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02109/0.775, allocations: 11.29 MB / 0.679 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/0.7752, allocations: 60.94 kB / 0.679 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002026/0.7754, allocations: 136 kB / 0.6792 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003123/0.7785, allocations: 1.117 MB / 0.6803 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00698/0.7855, allocations: 1.692 MB / 0.6819 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008621/0.7942, allocations: 6.352 MB / 0.6881 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006262/0.8005, allocations: 395.6 kB / 0.6885 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00226/0.8028, allocations: 443.6 kB / 0.6889 GB, free: 10.09 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (816): * Single equations (assignments): 812 * 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.006004/0.8088, allocations: 2.315 MB / 0.6912 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001275/0.8101, allocations: 390.9 kB / 0.6916 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/0.8211, allocations: 6.19 MB / 0.6976 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.817e-05/0.8212, allocations: 24 kB / 0.6976 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.8212, allocations: 4 kB / 0.6976 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.422e-05/0.8212, allocations: 15.95 kB / 0.6976 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02633/0.8475, allocations: 13.02 MB / 0.7104 GB, free: 4.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.899e-05/0.8476, allocations: 4 kB / 0.7104 GB, free: 4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002911/0.8505, allocations: 0.5502 MB / 0.7109 GB, free: 3.449 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002547/0.8531, allocations: 0.9449 MB / 0.7118 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004547/0.8536, allocations: 87.89 kB / 0.7119 GB, free: 2.414 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.282/1.136, allocations: 6.059 MB / 0.7178 GB, free: 191.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/1.136, allocations: 4.625 kB / 0.7178 GB, free: 191.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01854/1.154, allocations: 10.47 MB / 0.7281 GB, free: 189.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002105/1.156, allocations: 0.8907 MB / 0.7289 GB, free: 189 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006728/1.157, allocations: 39.25 kB / 0.729 GB, free: 188.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002191/1.159, allocations: 168.2 kB / 0.7291 GB, free: 188.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004941/1.16, allocations: 186.4 kB / 0.7293 GB, free: 188.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002435/1.16, allocations: 105.2 kB / 0.7294 GB, free: 188.9 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004201/1.164, allocations: 2.77 MB / 0.7321 GB, free: 187.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.6e-07/1.164, allocations: 0 / 0.7321 GB, free: 187.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005684/1.17, allocations: 1.183 MB / 0.7333 GB, free: 187.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (206): * Single equations (assignments): 202 * 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 Backend phase and start with SimCode phase: time 0.0004956/1.17, allocations: 178.4 kB / 0.7334 GB, free: 187.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01336/1.184, allocations: 9.825 MB / 0.743 GB, free: 185.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/1.184, allocations: 3.234 kB / 0.743 GB, free: 185.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003715/1.188, allocations: 3.018 MB / 0.746 GB, free: 182.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003369/1.191, allocations: 0.5034 MB / 0.7465 GB, free: 182.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02179/1.213, allocations: 11.94 MB / 0.7581 GB, free: 171.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003506/1.216, allocations: 3.627 MB / 0.7617 GB, free: 168.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005086/1.221, allocations: 2.266 MB / 0.7639 GB, free: 166.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001245/1.223, allocations: 411.1 kB / 0.7643 GB, free: 166.2 MB / 0.545 GB Notification: Performance of SimCode: time 9.32e-07/1.223, allocations: 0 / 0.7643 GB, free: 166.2 MB / 0.545 GB Notification: Performance of Templates: time 0.1133/1.336, allocations: 56.08 MB / 0.819 GB, free: 110.4 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches