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.001315/0.001315, allocations: 116.5 kB / 20.44 MB, free: 1.469 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.001432/0.001432, allocations: 212.5 kB / 23.74 MB, free: 4.695 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.471/1.471, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.2385/0.2385, allocations: 46.93 MB / 360.8 MB, free: 4.191 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.002558/0.002558, allocations: 76.06 kB / 0.4962 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3158, allocations: 66.09 MB / 0.5607 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01397/0.3298, allocations: 11.11 MB / 0.5716 GB, free: 9.285 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008384/0.3382, allocations: 3.874 MB / 0.5754 GB, free: 5.398 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001716/0.3399, allocations: 75.62 kB / 0.5754 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005802/0.3457, allocations: 2.726 MB / 0.5781 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0051/0.3508, allocations: 1.797 MB / 0.5799 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.3528, allocations: 0.7056 MB / 0.5806 GB, free: 84 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00571/0.3585, allocations: 3.59 MB / 0.5841 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004341/0.3628, allocations: 2.815 MB / 0.5868 GB, free: 9.602 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003097/0.3659, allocations: 1.487 MB / 0.5883 GB, free: 8.109 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003698/0.3696, allocations: 2.146 MB / 0.5904 GB, free: 5.957 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001034/0.3707, allocations: 320 kB / 0.5907 GB, free: 5.645 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002701/0.3734, allocations: 1.081 MB / 0.5917 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002542/0.3759, allocations: 1.854 MB / 0.5935 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003688/0.3796, allocations: 2.093 MB / 0.5956 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009476/0.3891, allocations: 6.704 MB / 0.6021 GB, free: 9.867 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3891, allocations: 3.938 kB / 0.6021 GB, free: 9.863 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3891, allocations: 0 / 0.6021 GB, free: 9.863 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002394/0.3893, allocations: 0 / 0.6021 GB, free: 9.863 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.02008/0.4094, allocations: 5.132 MB / 0.6071 GB, free: 4.676 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.4095, allocations: 16.03 kB / 0.6071 GB, free: 4.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001992/0.4115, allocations: 0.6703 MB / 0.6078 GB, free: 3.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007341/0.4188, allocations: 1.893 MB / 0.6097 GB, free: 2.082 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006254/0.425, allocations: 2.415 MB / 0.612 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002579/0.4253, allocations: 225.7 kB / 0.6122 GB, free: 15.4 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001331/0.4266, allocations: 299.8 kB / 0.6125 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02226/0.4489, allocations: 10.04 MB / 0.6223 GB, free: 4.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002351/0.4491, allocations: 47.64 kB / 0.6224 GB, free: 4.363 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001179/0.4503, allocations: 135.9 kB / 0.6225 GB, free: 4.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003586/0.4539, allocations: 1.813 MB / 0.6243 GB, free: 2.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02086/0.4747, allocations: 9.026 MB / 0.6331 GB, free: 9.363 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05523/0.53, allocations: 37.01 MB / 0.6692 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01371/0.5437, allocations: 3.162 MB / 0.6723 GB, free: 84 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002616/0.5463, allocations: 1.602 MB / 0.6739 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009475/0.5472, allocations: 240.2 kB / 0.6741 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.356e-05/0.5473, allocations: 51.16 kB / 0.6741 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=130): time 4.88e-06/0.5473, allocations: 3.938 kB / 0.6741 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=136): time 0.04715/0.5945, allocations: 12.94 MB / 0.6868 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.5946, allocations: 141.4 kB / 0.6869 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008282/0.6029, allocations: 3.972 MB / 0.6908 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003626/0.6032, allocations: 57.55 kB / 0.6909 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002983/0.6062, allocations: 3.081 MB / 0.6939 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009577/0.6072, allocations: 0.5739 MB / 0.6944 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002917/0.6101, allocations: 1.139 MB / 0.6955 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.6102, allocations: 309.1 kB / 0.6958 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003584/0.6138, allocations: 1.924 MB / 0.6977 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007196/0.621, allocations: 5.49 MB / 0.7031 GB, free: 14.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/0.6318, allocations: 8.042 MB / 0.7109 GB, free: 4.793 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001316/0.6319, allocations: 36 kB / 0.711 GB, free: 4.758 MB / 0.545 GB Notification: Performance of matching and sorting (n=716) (initialization): time 0.01645/0.6484, allocations: 7.899 MB / 0.7187 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001812/0.6486, allocations: 64.06 kB / 0.7187 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000212/0.6488, allocations: 128 kB / 0.7189 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002747/0.6515, allocations: 0.906 MB / 0.7197 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004378/0.6559, allocations: 1.275 MB / 0.721 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007722/0.6636, allocations: 5.099 MB / 0.726 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004211/0.6678, allocations: 291.8 kB / 0.7262 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001062/0.6689, allocations: 360 kB / 0.7266 GB, free: 4.625 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.004395/0.6733, allocations: 1.974 MB / 0.7285 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009581/0.6743, allocations: 345.7 kB / 0.7288 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2437/0.9179, allocations: 2.771 MB / 0.7316 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.825e-05/0.918, allocations: 16.17 kB / 0.7316 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.918, allocations: 3.812 kB / 0.7316 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-05/0.918, allocations: 6.797 kB / 0.7316 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/0.9313, allocations: 7.148 MB / 0.7386 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/0.9313, allocations: 0 / 0.7386 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.9324, allocations: 250.5 kB / 0.7388 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001957/0.9344, allocations: 0.7103 MB / 0.7395 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002166/0.9346, allocations: 40.48 kB / 0.7395 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004993/0.9396, allocations: 4.651 MB / 0.7441 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.9396, allocations: 3.938 kB / 0.7441 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006699/0.9463, allocations: 5.134 MB / 0.7491 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007677/0.9471, allocations: 329.5 kB / 0.7494 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005028/0.9476, allocations: 19.53 kB / 0.7494 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.9489, allocations: 81.33 kB / 0.7495 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002759/0.9492, allocations: 99.55 kB / 0.7496 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.9493, allocations: 53.34 kB / 0.7496 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0033/0.9526, allocations: 2.487 MB / 0.7521 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9526, allocations: 0 / 0.7521 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004246/0.9568, allocations: 0.878 MB / 0.7529 GB, free: 144 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.006856/0.9637, allocations: 5.773 MB / 0.7586 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006157/0.9699, allocations: 4.44 MB / 0.7629 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.9699, allocations: 0 / 0.7629 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001615/0.9715, allocations: 1.281 MB / 0.7642 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/0.9741, allocations: 414.3 kB / 0.7646 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05385/1.028, allocations: 42.9 MB / 0.8065 GB, free: 84.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002945/1.031, allocations: 3.061 MB / 0.8094 GB, free: 81.05 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003442/1.034, allocations: 1.79 MB / 0.8112 GB, free: 79.26 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002033/1.036, allocations: 1.749 MB / 0.8129 GB, free: 77.51 MB / 0.5606 GB Notification: Performance of SimCode: time 8.81e-07/1.036, allocations: 0 / 0.8129 GB, free: 77.51 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1395/1.176, allocations: 68.99 MB / 0.8803 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.95/27.13, allocations: 15.64 kB / 0.8803 GB, free: 8.824 MB / 0.5606 GB " [Timeout remaining time 633] (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: 30.71046573203057]