Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001665/0.001665, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002133/0.002133, allocations: 207.8 kB / 23.73 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2279/0.2279, allocations: 46.95 MB / 360.8 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 79.81 kB / 0.4962 GB, free: 7.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3291, allocations: 66.09 MB / 0.5607 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01815/0.3472, allocations: 9.713 MB / 0.5702 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01112/0.3583, allocations: 3.653 MB / 0.5738 GB, free: 6.602 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002251/0.3606, allocations: 71.69 kB / 0.5738 GB, free: 6.531 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007518/0.3681, allocations: 2.617 MB / 0.5764 GB, free: 3.906 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007033/0.3751, allocations: 1.802 MB / 0.5781 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002702/0.3778, allocations: 0.6901 MB / 0.5788 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007123/0.385, allocations: 3.582 MB / 0.5823 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00492/0.3899, allocations: 2.792 MB / 0.585 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003025/0.3929, allocations: 1.491 MB / 0.5865 GB, free: 9.461 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003011/0.3959, allocations: 2.032 MB / 0.5885 GB, free: 7.422 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006425/0.3966, allocations: 320 kB / 0.5888 GB, free: 7.109 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001806/0.3984, allocations: 0.9479 MB / 0.5897 GB, free: 6.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001753/0.4001, allocations: 1.846 MB / 0.5915 GB, free: 4.309 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00172/0.4018, allocations: 1.553 MB / 0.593 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00791/0.4098, allocations: 6.735 MB / 0.5996 GB, free: 11.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4098, allocations: 0 / 0.5996 GB, free: 11.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4098, allocations: 4 kB / 0.5996 GB, free: 11.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001998/0.41, allocations: 0 / 0.5996 GB, free: 11.98 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.01728/0.4272, allocations: 5.129 MB / 0.6046 GB, free: 6.797 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.4273, allocations: 8.031 kB / 0.6046 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001588/0.4289, allocations: 0.6781 MB / 0.6053 GB, free: 6.102 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007209/0.4361, allocations: 1.89 MB / 0.6071 GB, free: 4.207 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006661/0.4428, allocations: 2.435 MB / 0.6095 GB, free: 1.727 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002194/0.443, allocations: 229.8 kB / 0.6097 GB, free: 1.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00104/0.444, allocations: 295.8 kB / 0.61 GB, free: 1.211 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02036/0.4644, allocations: 10.07 MB / 0.6198 GB, free: 6.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001299/0.4645, allocations: 47.62 kB / 0.6199 GB, free: 6.434 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004481/0.465, allocations: 147.9 kB / 0.62 GB, free: 6.289 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003298/0.4683, allocations: 1.802 MB / 0.6218 GB, free: 4.48 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02009/0.4883, allocations: 9.003 MB / 0.6306 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05514/0.5435, allocations: 35.58 MB / 0.6653 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0131/0.5566, allocations: 3.15 MB / 0.6684 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00264/0.5592, allocations: 1.603 MB / 0.67 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008058/0.56, allocations: 228.3 kB / 0.6702 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.919e-05/0.5601, allocations: 47.16 kB / 0.6702 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=130): time 4.067e-06/0.5601, allocations: 0 / 0.6702 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.04461/0.6047, allocations: 13.01 MB / 0.6829 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.6048, allocations: 141.2 kB / 0.6831 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006429/0.6112, allocations: 4.18 MB / 0.6871 GB, free: 356 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004118/0.6116, allocations: 45.7 kB / 0.6872 GB, free: 304 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002903/0.6145, allocations: 3.085 MB / 0.6902 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009031/0.6154, allocations: 0.5778 MB / 0.6908 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001565/0.617, allocations: 1.143 MB / 0.6919 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.6171, allocations: 309 kB / 0.6922 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003056/0.6202, allocations: 1.92 MB / 0.694 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006082/0.6263, allocations: 5.486 MB / 0.6994 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/0.6369, allocations: 8.05 MB / 0.7073 GB, free: 8.098 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001473/0.6371, allocations: 36 kB / 0.7073 GB, free: 8.062 MB / 0.545 GB Notification: Performance of matching and sorting (n=716) (initialization): time 0.0161/0.6532, allocations: 7.903 MB / 0.715 GB, free: 152 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.108e-05/0.6533, allocations: 62.19 kB / 0.7151 GB, free: 92 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001697/0.6534, allocations: 128 kB / 0.7152 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002535/0.656, allocations: 0.8986 MB / 0.7161 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004135/0.6601, allocations: 1.287 MB / 0.7173 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007307/0.6674, allocations: 5.047 MB / 0.7223 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004153/0.6716, allocations: 295.7 kB / 0.7225 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008984/0.6725, allocations: 360 kB / 0.7229 GB, free: 7.969 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 (677): * Single equations (assignments): 673 * 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.003608/0.6761, allocations: 1.966 MB / 0.7248 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007618/0.6768, allocations: 345.7 kB / 0.7251 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005698/0.6825, allocations: 2.786 MB / 0.7279 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.243e-05/0.6826, allocations: 16.38 kB / 0.7279 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.6826, allocations: 4 kB / 0.7279 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.6826, allocations: 3.984 kB / 0.7279 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2585/0.9411, allocations: 6.874 MB / 0.7346 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.9411, allocations: 2.438 kB / 0.7346 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.9422, allocations: 246.6 kB / 0.7348 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001866/0.9441, allocations: 0.7101 MB / 0.7355 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.9442, allocations: 33.33 kB / 0.7356 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004905/0.9491, allocations: 4.617 MB / 0.7401 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.9491, allocations: 3.75 kB / 0.7401 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006762/0.9559, allocations: 5.135 MB / 0.7451 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/0.957, allocations: 327.5 kB / 0.7454 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003946/0.9574, allocations: 25.03 kB / 0.7454 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/0.9588, allocations: 73.8 kB / 0.7455 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002783/0.959, allocations: 108.5 kB / 0.7456 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.9592, allocations: 43.45 kB / 0.7456 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003345/0.9625, allocations: 2.486 MB / 0.7481 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.9625, allocations: 1.375 kB / 0.7481 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004055/0.9666, allocations: 0.8773 MB / 0.7489 GB, free: 145.5 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.006902/0.9735, allocations: 5.771 MB / 0.7546 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005993/0.9794, allocations: 4.442 MB / 0.7589 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.9795, allocations: 4 kB / 0.7589 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001501/0.981, allocations: 1.282 MB / 0.7602 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/0.9834, allocations: 430.9 kB / 0.7606 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.049/1.032, allocations: 42.88 MB / 0.8024 GB, free: 86.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002516/1.035, allocations: 2.516 MB / 0.8049 GB, free: 84.23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003361/1.038, allocations: 1.79 MB / 0.8066 GB, free: 82.44 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001792/1.04, allocations: 1.753 MB / 0.8084 GB, free: 80.69 MB / 0.5606 GB Notification: Performance of SimCode: time 1.222e-06/1.04, allocations: 3.172 kB / 0.8084 GB, free: 80.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1057/1.146, allocations: 64.74 MB / 0.8716 GB, free: 16.54 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.86/17, allocations: 4.062 kB / 0.8716 GB, free: 16.54 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 20.534954726230353]