Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.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.0009006/0.0009006, allocations: 80.44 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009214/0.0009214, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8411/0.8411, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1202/0.1202, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 406.8 MB, free: 2.277 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/1.956e-05, allocations: 2.281 kB / 406.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.005479/0.005498, allocations: 6.723 MB / 413.5 MB, free: 11.51 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004667/0.01017, allocations: 3.147 MB / 416.7 MB, free: 8.355 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006229/0.01079, allocations: 35.88 kB / 416.7 MB, free: 8.32 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.01262, allocations: 0.8208 MB / 417.5 MB, free: 7.496 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002277/0.0149, allocations: 1.396 MB / 418.9 MB, free: 6.094 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009921/0.01589, allocations: 0.5727 MB / 419.5 MB, free: 5.52 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002789/0.01868, allocations: 2.897 MB / 422.4 MB, free: 2.613 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001583/0.02027, allocations: 1.411 MB / 423.8 MB, free: 1.191 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.02157, allocations: 1.235 MB / 425.1 MB, free: 15.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.0228, allocations: 1.317 MB / 426.4 MB, free: 14.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002064/0.023, allocations: 144 kB / 426.5 MB, free: 14.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.02405, allocations: 0.8851 MB / 427.4 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006692/0.02472, allocations: 1.102 MB / 428.5 MB, free: 12.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.02584, allocations: 0.6656 MB / 429.2 MB, free: 11.83 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003428/0.02927, allocations: 4.111 MB / 433.3 MB, free: 7.707 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.02927, allocations: 3.938 kB / 433.3 MB, free: 7.703 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.02927, allocations: 0 / 433.3 MB, free: 7.703 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001085/0.02938, allocations: 0 / 433.3 MB, free: 7.703 MB / 410.7 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.003882/0.03327, allocations: 3.009 MB / 436.3 MB, free: 4.648 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.03331, allocations: 8.031 kB / 436.3 MB, free: 4.641 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005537/0.03386, allocations: 466.4 kB / 436.8 MB, free: 4.176 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003274/0.03714, allocations: 1.758 MB / 438.5 MB, free: 2.414 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.03878, allocations: 1.5 MB / 440 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.175e-05/0.03884, allocations: 119.4 kB / 440.1 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/0.03905, allocations: 164.2 kB / 440.3 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005404/0.04446, allocations: 6.476 MB / 446.8 MB, free: 9.602 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.712e-05/0.0445, allocations: 31.7 kB / 446.8 MB, free: 9.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001683/0.04467, allocations: 83.89 kB / 446.9 MB, free: 9.488 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001283/0.04595, allocations: 1.437 MB / 448.3 MB, free: 8.047 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006515/0.05247, allocations: 5.728 MB / 454 MB, free: 2.312 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1757/0.2282, allocations: 25.98 MB / 480 MB, free: 79.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002276/0.2305, allocations: 1.642 MB / 481.7 MB, free: 79.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000744/0.2312, allocations: 0.9546 MB / 482.6 MB, free: 79.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.2313, allocations: 24.36 kB / 482.6 MB, free: 79.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.2314, allocations: 48.33 kB / 482.7 MB, free: 79.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 3.286e-06/0.2314, allocations: 0 / 482.7 MB, free: 79.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=112): time 0.009183/0.2405, allocations: 6.915 MB / 489.6 MB, free: 76.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.2406, allocations: 138.2 kB / 489.7 MB, free: 76.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002658/0.2433, allocations: 3.276 MB / 493 MB, free: 75.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.2434, allocations: 36.8 kB / 493 MB, free: 75.36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007099/0.2441, allocations: 2.174 MB / 495.2 MB, free: 73.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000294/0.2444, allocations: 470.9 kB / 495.7 MB, free: 73.42 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006537/0.245, allocations: 0.8881 MB / 496.6 MB, free: 72.97 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.565e-05/0.2451, allocations: 301.1 kB / 496.9 MB, free: 72.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.2463, allocations: 1.427 MB / 498.3 MB, free: 72.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001991/0.2483, allocations: 4.299 MB / 0.4908 GB, free: 67.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004408/0.2527, allocations: 6.203 MB / 0.4969 GB, free: 62.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-05/0.2528, allocations: 33.03 kB / 0.4969 GB, free: 62.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.006199/0.259, allocations: 5.525 MB / 0.5023 GB, free: 60.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.916e-05/0.259, allocations: 52.38 kB / 0.5023 GB, free: 60.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000114/0.2591, allocations: 105.3 kB / 0.5024 GB, free: 60.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001151/0.2593, allocations: 135 kB / 0.5026 GB, free: 60.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002224/0.2615, allocations: 1.233 MB / 0.5038 GB, free: 60.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001285/0.2616, allocations: 204.6 kB / 0.504 GB, free: 60.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/0.2639, allocations: 294.1 kB / 0.5043 GB, free: 60.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003108/0.2642, allocations: 286.4 kB / 0.5045 GB, free: 60.4 MB / 442.7 MB 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.001545/0.2658, allocations: 1.384 MB / 0.5059 GB, free: 59.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004712/0.2662, allocations: 259.3 kB / 0.5061 GB, free: 59.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.2675, allocations: 1.236 MB / 0.5073 GB, free: 59.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.2675, allocations: 16.81 kB / 0.5073 GB, free: 59.08 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.2676, allocations: 1.781 kB / 0.5073 GB, free: 59.08 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.2676, allocations: 6.844 kB / 0.5074 GB, free: 59.08 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004933/0.2725, allocations: 4.413 MB / 0.5117 GB, free: 57.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.2725, allocations: 3.906 kB / 0.5117 GB, free: 57.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000887/0.2734, allocations: 371.4 kB / 0.512 GB, free: 57.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-05/0.2734, allocations: 14.3 kB / 0.512 GB, free: 57.35 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.841e-05/0.2735, allocations: 25.02 kB / 0.5121 GB, free: 57.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.2735, allocations: 8.266 kB / 0.5121 GB, free: 57.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2735, allocations: 11.19 kB / 0.5121 GB, free: 57.33 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.275, allocations: 2.153 MB / 0.5142 GB, free: 56.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005988/0.2756, allocations: 437.4 kB / 0.5146 GB, free: 55.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.2758, allocations: 27.14 kB / 0.5146 GB, free: 55.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006256/0.2764, allocations: 99.41 kB / 0.5147 GB, free: 55.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.2765, allocations: 72.39 kB / 0.5148 GB, free: 55.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-05/0.2766, allocations: 36.91 kB / 0.5148 GB, free: 55.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001839/0.2784, allocations: 1.978 MB / 0.5168 GB, free: 55.26 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2784, allocations: 0 / 0.5168 GB, free: 55.26 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002317/0.2807, allocations: 0.6989 MB / 0.5174 GB, free: 55.16 MB / 442.7 MB 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.001875/0.2826, allocations: 2.816 MB / 0.5202 GB, free: 53.06 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003607/0.2862, allocations: 3.164 MB / 0.5233 GB, free: 50.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.2862, allocations: 0 / 0.5233 GB, free: 50.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000674/0.2869, allocations: 0.7322 MB / 0.524 GB, free: 49.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.2883, allocations: 277.1 kB / 0.5243 GB, free: 49.46 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0236/0.3119, allocations: 30.41 MB / 0.554 GB, free: 17.19 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.313, allocations: 1.645 MB / 0.5556 GB, free: 15.51 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001712/0.3147, allocations: 1.465 MB / 0.557 GB, free: 14.05 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008701/0.3156, allocations: 1.094 MB / 0.5581 GB, free: 12.95 MB / 442.7 MB Notification: Performance of SimCode: time 1.552e-06/0.3156, allocations: 0 / 0.5581 GB, free: 12.95 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0533/0.3689, allocations: 43.3 MB / 0.6003 GB, free: 1.723 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.413/8.782, allocations: 11.83 kB / 0.6004 GB, free: 1.711 MB / 474.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 10.786529715172946]