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.001054/0.001054, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001092/0.001092, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 247.5 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2013/0.2013, allocations: 46.1 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 76.38 kB / 419 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1036, allocations: 62.45 MB / 481.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01313/0.1168, allocations: 13.02 MB / 494.5 MB, free: 7.422 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008126/0.125, allocations: 4.287 MB / 498.8 MB, free: 3.121 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002398/0.1274, allocations: 79.81 kB / 498.9 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006771/0.1343, allocations: 3.711 MB / 0.4908 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004785/0.1391, allocations: 1.98 MB / 0.4927 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.1407, allocations: 0.8188 MB / 0.4935 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004995/0.1457, allocations: 4.214 MB / 0.4976 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004959/0.1507, allocations: 4.828 MB / 0.5023 GB, free: 3.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002218/0.153, allocations: 1.857 MB / 0.5042 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2083/0.3613, allocations: 2.453 MB / 0.5066 GB, free: 16.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001594/0.363, allocations: 414.3 kB / 0.507 GB, free: 16.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002711/0.3657, allocations: 1.124 MB / 0.5081 GB, free: 16.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002685/0.3684, allocations: 2.191 MB / 0.5102 GB, free: 16.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005126/0.3735, allocations: 2.597 MB / 0.5127 GB, free: 16.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.012/0.3856, allocations: 8.083 MB / 0.5206 GB, free: 15.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3856, allocations: 1.625 kB / 0.5206 GB, free: 15.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3856, allocations: 0 / 0.5206 GB, free: 15.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003254/0.3859, allocations: 1.094 kB / 0.5206 GB, free: 15.08 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.02368/0.4096, allocations: 6.196 MB / 0.5267 GB, free: 12.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.4097, allocations: 10.16 kB / 0.5267 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007474/0.4172, allocations: 1.971 MB / 0.5286 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0074/0.4246, allocations: 2.679 MB / 0.5312 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00031/0.425, allocations: 299.1 kB / 0.5315 GB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002289/0.4273, allocations: 390 kB / 0.5319 GB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02164/0.4489, allocations: 12.2 MB / 0.5438 GB, free: 2.723 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001601/0.4491, allocations: 54.83 kB / 0.5438 GB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007254/0.4498, allocations: 176.8 kB / 0.544 GB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003365/0.4532, allocations: 2.187 MB / 0.5462 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02385/0.4771, allocations: 11.21 MB / 0.5571 GB, free: 6.043 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06274/0.5398, allocations: 45.9 MB / 0.6019 GB, free: 7.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01746/0.5573, allocations: 5.48 MB / 0.6073 GB, free: 2.039 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004438/0.5618, allocations: 3.435 MB / 0.6106 GB, free: 14.6 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/0.5629, allocations: 0.6941 MB / 0.6113 GB, free: 13.81 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.919e-05/0.5629, allocations: 55.88 kB / 0.6114 GB, free: 13.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=203): time 4.769e-06/0.5629, allocations: 0 / 0.6114 GB, free: 13.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=234): time 0.08466/0.6476, allocations: 27.29 MB / 0.638 GB, free: 2.379 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/0.6477, allocations: 153.8 kB / 0.6381 GB, free: 2.199 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007585/0.6553, allocations: 4.402 MB / 0.6424 GB, free: 13.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007272/0.6561, allocations: 57.7 kB / 0.6425 GB, free: 13.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002289/0.6584, allocations: 3.39 MB / 0.6458 GB, free: 10.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009992/0.6594, allocations: 0.883 MB / 0.6467 GB, free: 9.445 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001968/0.6614, allocations: 1.407 MB / 0.648 GB, free: 8.027 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.943e-05/0.6615, allocations: 309.1 kB / 0.6483 GB, free: 7.723 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004533/0.666, allocations: 3.28 MB / 0.6515 GB, free: 4.438 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006883/0.6729, allocations: 7.081 MB / 0.6585 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01375/0.6867, allocations: 11.17 MB / 0.6694 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.758e-05/0.6868, allocations: 40 kB / 0.6694 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.02078/0.7076, allocations: 11.29 MB / 0.6804 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-05/0.7077, allocations: 64.94 kB / 0.6805 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001281/0.7078, allocations: 135.8 kB / 0.6806 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002745/0.7106, allocations: 1.116 MB / 0.6817 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006392/0.717, allocations: 1.696 MB / 0.6834 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008141/0.7251, allocations: 6.35 MB / 0.6896 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005871/0.731, allocations: 395.6 kB / 0.6899 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/0.7324, allocations: 443.2 kB / 0.6904 GB, free: 9.578 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.004438/0.7368, allocations: 2.307 MB / 0.6926 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008982/0.7377, allocations: 390.9 kB / 0.693 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/0.7479, allocations: 6.19 MB / 0.699 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.288e-05/0.748, allocations: 24 kB / 0.6991 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.748, allocations: 4 kB / 0.6991 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.739e-05/0.748, allocations: 12.05 kB / 0.6991 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02507/0.7731, allocations: 12.99 MB / 0.7118 GB, free: 3.539 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.208e-05/0.7732, allocations: 0 / 0.7118 GB, free: 3.539 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002762/0.776, allocations: 0.5421 MB / 0.7123 GB, free: 2.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002446/0.7784, allocations: 0.9555 MB / 0.7132 GB, free: 2.039 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003377/0.7788, allocations: 83.89 kB / 0.7133 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2218/1.001, allocations: 6.063 MB / 0.7192 GB, free: 191.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/1.001, allocations: 4.062 kB / 0.7192 GB, free: 191.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01584/1.016, allocations: 10.46 MB / 0.7294 GB, free: 189 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002814/1.019, allocations: 0.8937 MB / 0.7303 GB, free: 188.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009118/1.02, allocations: 40.28 kB / 0.7304 GB, free: 188.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00254/1.023, allocations: 166.9 kB / 0.7305 GB, free: 188.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005142/1.023, allocations: 183.3 kB / 0.7307 GB, free: 188.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002638/1.024, allocations: 110.3 kB / 0.7308 GB, free: 188.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004592/1.028, allocations: 2.767 MB / 0.7335 GB, free: 187.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.11e-07/1.028, allocations: 0 / 0.7335 GB, free: 187.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00651/1.035, allocations: 1.189 MB / 0.7347 GB, free: 187.6 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.0005803/1.035, allocations: 181.2 kB / 0.7348 GB, free: 187.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01033/1.046, allocations: 7.733 MB / 0.7424 GB, free: 185 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/1.046, allocations: 0 / 0.7424 GB, free: 185 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003809/1.05, allocations: 3.014 MB / 0.7453 GB, free: 183.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003757/1.053, allocations: 0.5058 MB / 0.7458 GB, free: 183.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01983/1.073, allocations: 11.81 MB / 0.7574 GB, free: 173.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004766/1.078, allocations: 3.621 MB / 0.7609 GB, free: 170.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004773/1.083, allocations: 2.266 MB / 0.7631 GB, free: 168.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001338/1.084, allocations: 419.1 kB / 0.7635 GB, free: 168 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/1.084, allocations: 0 / 0.7635 GB, free: 168 MB / 0.545 GB Notification: Performance of Templates: time 0.07941/1.164, allocations: 50.32 MB / 0.8126 GB, free: 117.9 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins1/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