Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.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.001902/0.001902, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002149/0.002149, allocations: 207.5 kB / 24.53 MB, free: 4.07 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.476/1.476, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.246/0.246, allocations: 46.92 MB / 361.6 MB, free: 4.176 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.Rotational.TestMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestMove",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestMove",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 80.14 kB / 0.4969 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3371, allocations: 66.08 MB / 0.5615 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009003/0.3461, allocations: 7.531 MB / 0.5688 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006326/0.3525, allocations: 3.405 MB / 0.5722 GB, free: 9.484 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009736/0.3534, allocations: 35.88 kB / 0.5722 GB, free: 9.449 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001865/0.3553, allocations: 0.8287 MB / 0.573 GB, free: 8.617 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003084/0.3584, allocations: 1.312 MB / 0.5743 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.3597, allocations: 0.5301 MB / 0.5748 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003443/0.3631, allocations: 2.601 MB / 0.5773 GB, free: 4.164 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.3646, allocations: 1.158 MB / 0.5785 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.3657, allocations: 0.7822 MB / 0.5792 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.3673, allocations: 1.234 MB / 0.5804 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002555/0.3675, allocations: 140 kB / 0.5806 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.3691, allocations: 0.9633 MB / 0.5815 GB, free: 15.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009871/0.3701, allocations: 1.032 MB / 0.5825 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001109/0.3712, allocations: 1.211 MB / 0.5837 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004489/0.3757, allocations: 4.042 MB / 0.5876 GB, free: 9.551 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3757, allocations: 0 / 0.5876 GB, free: 9.551 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3757, allocations: 0 / 0.5876 GB, free: 9.551 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.553e-05/0.3758, allocations: 3.938 kB / 0.5877 GB, free: 9.547 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.005267/0.3811, allocations: 2.958 MB / 0.5905 GB, free: 6.543 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3811, allocations: 8.031 kB / 0.5906 GB, free: 6.535 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.353e-05/0.3812, allocations: 67.31 kB / 0.5906 GB, free: 6.469 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000526/0.3817, allocations: 458.5 kB / 0.5911 GB, free: 6.012 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006058/0.3878, allocations: 1.668 MB / 0.5927 GB, free: 4.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003093/0.3908, allocations: 1.489 MB / 0.5941 GB, free: 2.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.391, allocations: 131.1 kB / 0.5943 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000339/0.3913, allocations: 163.8 kB / 0.5944 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.4018, allocations: 6.452 MB / 0.6007 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.882e-05/0.4019, allocations: 31.75 kB / 0.6007 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003286/0.4022, allocations: 83.89 kB / 0.6008 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002723/0.4049, allocations: 1.437 MB / 0.6022 GB, free: 9.992 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01116/0.4161, allocations: 5.732 MB / 0.6078 GB, free: 4.262 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03309/0.4492, allocations: 26.64 MB / 0.6338 GB, free: 8.754 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004187/0.4534, allocations: 1.617 MB / 0.6354 GB, free: 7.098 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/0.4548, allocations: 0.9565 MB / 0.6364 GB, free: 6.129 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/0.4549, allocations: 28.3 kB / 0.6364 GB, free: 6.102 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.455, allocations: 46.83 kB / 0.6364 GB, free: 6.047 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.226e-06/0.455, allocations: 0 / 0.6364 GB, free: 6.047 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01591/0.4709, allocations: 6.509 MB / 0.6428 GB, free: 15.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.617e-05/0.471, allocations: 141 kB / 0.6429 GB, free: 15.35 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003943/0.4749, allocations: 2.898 MB / 0.6458 GB, free: 12.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.4751, allocations: 37.7 kB / 0.6458 GB, free: 12.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001715/0.4768, allocations: 2.198 MB / 0.6479 GB, free: 10.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005194/0.4773, allocations: 472.5 kB / 0.6484 GB, free: 9.715 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001192/0.4785, allocations: 0.9014 MB / 0.6493 GB, free: 8.801 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.4786, allocations: 309.1 kB / 0.6496 GB, free: 8.496 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/0.4808, allocations: 1.422 MB / 0.6509 GB, free: 7.066 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004777/0.4856, allocations: 4.287 MB / 0.6551 GB, free: 1.328 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007697/0.4933, allocations: 6.198 MB / 0.6612 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-05/0.4934, allocations: 28 kB / 0.6612 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009611/0.503, allocations: 5.489 MB / 0.6666 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.594e-05/0.503, allocations: 55.98 kB / 0.6666 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/0.5032, allocations: 100 kB / 0.6667 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001498/0.5033, allocations: 139.9 kB / 0.6669 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004222/0.5076, allocations: 1.22 MB / 0.668 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000171/0.5077, allocations: 199.5 kB / 0.6682 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002759/0.5105, allocations: 247.6 kB / 0.6685 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004134/0.5109, allocations: 280 kB / 0.6687 GB, free: 1.949 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (553): * Single equations (assignments): 550 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002028/0.5129, allocations: 1.38 MB / 0.6701 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004257/0.5133, allocations: 250.3 kB / 0.6703 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002443/0.5158, allocations: 1.241 MB / 0.6715 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.158e-05/0.5158, allocations: 19.94 kB / 0.6716 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.5159, allocations: 0 / 0.6716 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.5159, allocations: 3.984 kB / 0.6716 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/0.5284, allocations: 4.539 MB / 0.676 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/0.5284, allocations: 4 kB / 0.676 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003085/0.5315, allocations: 371.3 kB / 0.6764 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.209e-05/0.5315, allocations: 8 kB / 0.6764 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/0.5316, allocations: 20 kB / 0.6764 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-05/0.5316, allocations: 11.98 kB / 0.6764 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.706e-05/0.5317, allocations: 15.94 kB / 0.6764 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004466/0.5361, allocations: 2.174 MB / 0.6785 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007219/0.5368, allocations: 238.2 kB / 0.6788 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000398/0.5372, allocations: 23.98 kB / 0.6788 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/0.5388, allocations: 55.94 kB / 0.6788 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002373/0.539, allocations: 71.77 kB / 0.6789 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/0.5392, allocations: 35.98 kB / 0.6789 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00433/0.5435, allocations: 1.823 MB / 0.6807 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5435, allocations: 3.938 kB / 0.6807 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005765/0.5493, allocations: 0.6209 MB / 0.6813 GB, free: 4.863 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * 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 (90): * Single equations (assignments): 87 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005023/0.5543, allocations: 2.783 MB / 0.684 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007737/0.562, allocations: 3.152 MB / 0.6871 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/0.562, allocations: 3.828 kB / 0.6871 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001712/0.5637, allocations: 0.7258 MB / 0.6878 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002748/0.5665, allocations: 278.7 kB / 0.6881 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0503/0.6168, allocations: 29.81 MB / 0.7172 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002583/0.6194, allocations: 2.214 MB / 0.7194 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003285/0.6227, allocations: 1.455 MB / 0.7208 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001719/0.6244, allocations: 1.085 MB / 0.7219 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of SimCode: time 1.573e-06/0.6244, allocations: 0 / 0.7219 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3179/0.9423, allocations: 45.18 MB / 0.766 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.59/21.54, allocations: 13.83 kB / 0.766 GB, free: 131.5 MB / 0.5606 GB " [Timeout remaining time 638] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.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: 25.098863306979183]