Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 211.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.436/1.436, allocations: 230.6 MB / 258.2 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.221/0.221, allocations: 46.97 MB / 361.6 MB, free: 4 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 72.11 kB / 0.4973 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.306, allocations: 66.03 MB / 0.5618 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01198/0.318, allocations: 9.712 MB / 0.5713 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007238/0.3252, allocations: 3.653 MB / 0.5749 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009469/0.3262, allocations: 75.62 kB / 0.5749 GB, free: 6.648 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004782/0.3309, allocations: 2.613 MB / 0.5775 GB, free: 4.027 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004085/0.335, allocations: 1.798 MB / 0.5793 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.3365, allocations: 0.6979 MB / 0.5799 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005885/0.3424, allocations: 3.586 MB / 0.5834 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004048/0.3465, allocations: 2.799 MB / 0.5862 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002102/0.3486, allocations: 1.495 MB / 0.5876 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002709/0.3513, allocations: 2.157 MB / 0.5897 GB, free: 7.402 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000705/0.352, allocations: 320 kB / 0.59 GB, free: 7.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.3538, allocations: 0.9596 MB / 0.591 GB, free: 6.129 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001833/0.3557, allocations: 1.839 MB / 0.5928 GB, free: 4.285 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001902/0.3576, allocations: 1.557 MB / 0.5943 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007492/0.3651, allocations: 6.716 MB / 0.6009 GB, free: 11.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.892e-06/0.3651, allocations: 3.938 kB / 0.6009 GB, free: 11.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3651, allocations: 0 / 0.6009 GB, free: 11.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000192/0.3653, allocations: 0 / 0.6009 GB, free: 11.97 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.0185/0.3838, allocations: 5.121 MB / 0.6059 GB, free: 6.797 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3838, allocations: 8.031 kB / 0.6059 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006463/0.3903, allocations: 1.882 MB / 0.6077 GB, free: 4.902 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005281/0.3955, allocations: 2.197 MB / 0.6098 GB, free: 2.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002715/0.3958, allocations: 221.8 kB / 0.6101 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007979/0.3966, allocations: 307.8 kB / 0.6104 GB, free: 2.141 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01924/0.4159, allocations: 10.06 MB / 0.6202 GB, free: 7.418 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001162/0.416, allocations: 39.64 kB / 0.6202 GB, free: 7.379 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004368/0.4164, allocations: 155.8 kB / 0.6204 GB, free: 7.227 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003195/0.4196, allocations: 1.809 MB / 0.6221 GB, free: 5.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02001/0.4396, allocations: 9.007 MB / 0.6309 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04896/0.4886, allocations: 34.66 MB / 0.6648 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0142/0.5028, allocations: 3.147 MB / 0.6679 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002418/0.5052, allocations: 1.609 MB / 0.6694 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00076/0.506, allocations: 232.3 kB / 0.6696 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.506, allocations: 47.27 kB / 0.6697 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=130): time 4.719e-06/0.506, allocations: 3.938 kB / 0.6697 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.04498/0.551, allocations: 12.95 MB / 0.6823 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.5511, allocations: 145.2 kB / 0.6825 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004938/0.556, allocations: 3.632 MB / 0.686 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002787/0.5563, allocations: 45.7 kB / 0.6861 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0023/0.5586, allocations: 3.109 MB / 0.6891 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007224/0.5593, allocations: 0.5661 MB / 0.6897 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001498/0.5608, allocations: 1.158 MB / 0.6908 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.561, allocations: 305.1 kB / 0.6911 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002896/0.5639, allocations: 1.931 MB / 0.693 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005913/0.5698, allocations: 5.498 MB / 0.6983 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/0.5799, allocations: 8.062 MB / 0.7062 GB, free: 10.47 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001021/0.58, allocations: 36 kB / 0.7062 GB, free: 10.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.01503/0.595, allocations: 7.889 MB / 0.7139 GB, free: 2.535 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.293e-05/0.5951, allocations: 63.94 kB / 0.714 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001689/0.5953, allocations: 128 kB / 0.7141 GB, free: 2.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002607/0.5979, allocations: 0.8985 MB / 0.715 GB, free: 1.445 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004383/0.6023, allocations: 1.287 MB / 0.7163 GB, free: 160 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007349/0.6096, allocations: 5.009 MB / 0.7212 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004207/0.6139, allocations: 295.8 kB / 0.7214 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008464/0.6147, allocations: 359.9 kB / 0.7218 GB, free: 10.41 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (681): * Single equations (assignments): 677 * 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.003545/0.6182, allocations: 1.978 MB / 0.7237 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006498/0.6189, allocations: 301.9 kB / 0.724 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005288/0.6242, allocations: 2.735 MB / 0.7267 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.355e-05/0.6242, allocations: 19.94 kB / 0.7267 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.6242, allocations: 4 kB / 0.7267 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.6242, allocations: 7.922 kB / 0.7267 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2703/0.8945, allocations: 6.183 MB / 0.7327 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/0.8945, allocations: 1.594 kB / 0.7327 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00152/0.8961, allocations: 242.6 kB / 0.733 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002393/0.8984, allocations: 0.7131 MB / 0.7337 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001853/0.8986, allocations: 34.33 kB / 0.7337 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00469/0.9033, allocations: 4.592 MB / 0.7382 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.9033, allocations: 5 kB / 0.7382 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006065/0.9094, allocations: 5.094 MB / 0.7432 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006477/0.91, allocations: 278.1 kB / 0.7434 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003096/0.9103, allocations: 21.41 kB / 0.7435 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.9114, allocations: 77.41 kB / 0.7435 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/0.9116, allocations: 93.22 kB / 0.7436 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.9117, allocations: 52.33 kB / 0.7437 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002271/0.914, allocations: 2.102 MB / 0.7457 GB, free: 147 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.914, allocations: 0 / 0.7457 GB, free: 147 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003492/0.9175, allocations: 0.8689 MB / 0.7466 GB, free: 146.9 MB / 0.5606 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 (104): * Single equations (assignments): 100 * 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.000303/0.9178, allocations: 144 kB / 0.7467 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004832/0.9226, allocations: 4.456 MB / 0.7511 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.9226, allocations: 0 / 0.7511 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001367/0.924, allocations: 1.288 MB / 0.7523 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.9258, allocations: 368 kB / 0.7527 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.9367, allocations: 8.454 MB / 0.7609 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002347/0.939, allocations: 2.522 MB / 0.7634 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00314/0.9422, allocations: 1.737 MB / 0.7651 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005356/0.9427, allocations: 239.3 kB / 0.7653 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.253e-06/0.9427, allocations: 0 / 0.7653 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.05529/0.998, allocations: 34.6 MB / 0.7991 GB, free: 97.16 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.762073853999027]