Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001418/0.001418, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002165/0.002165, allocations: 214.1 kB / 24.52 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.458/1.458, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.225/0.225, allocations: 44.93 MB / 359.6 MB, free: 6.098 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.89 kB / 0.4938 GB, free: 10.6 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3221, allocations: 65.46 MB / 0.5577 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009201/0.3313, allocations: 6.649 MB / 0.5642 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00644/0.3377, allocations: 3.152 MB / 0.5673 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000822/0.3385, allocations: 43.81 kB / 0.5673 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.3404, allocations: 0.7859 MB / 0.5681 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003417/0.3438, allocations: 1.327 MB / 0.5694 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.3455, allocations: 0.5301 MB / 0.5699 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004408/0.3499, allocations: 2.605 MB / 0.5724 GB, free: 8.426 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001951/0.3518, allocations: 1.158 MB / 0.5736 GB, free: 7.254 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001413/0.3533, allocations: 0.7861 MB / 0.5743 GB, free: 6.465 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001829/0.3551, allocations: 1.23 MB / 0.5755 GB, free: 5.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003572/0.3554, allocations: 143.9 kB / 0.5757 GB, free: 5.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/0.3571, allocations: 0.8423 MB / 0.5765 GB, free: 4.246 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.3582, allocations: 1.032 MB / 0.5775 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.3593, allocations: 0.8651 MB / 0.5783 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004822/0.3641, allocations: 4.053 MB / 0.5823 GB, free: 14.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3641, allocations: 0 / 0.5823 GB, free: 14.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3641, allocations: 0 / 0.5823 GB, free: 14.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.913e-05/0.3642, allocations: 0 / 0.5823 GB, free: 14.27 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.005594/0.3698, allocations: 2.955 MB / 0.5852 GB, free: 11.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.3698, allocations: 16.03 kB / 0.5852 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.046e-05/0.3699, allocations: 55.31 kB / 0.5853 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005632/0.3704, allocations: 462.5 kB / 0.5857 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006172/0.3766, allocations: 1.672 MB / 0.5873 GB, free: 9.062 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/0.3798, allocations: 1.497 MB / 0.5888 GB, free: 7.535 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.3799, allocations: 131.1 kB / 0.5889 GB, free: 7.406 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004038/0.3803, allocations: 159.8 kB / 0.5891 GB, free: 7.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009954/0.3902, allocations: 6.449 MB / 0.5954 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.707e-05/0.3903, allocations: 31.75 kB / 0.5954 GB, free: 240 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002533/0.3906, allocations: 83.89 kB / 0.5955 GB, free: 156 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002576/0.3931, allocations: 1.441 MB / 0.5969 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/0.4033, allocations: 5.732 MB / 0.6025 GB, free: 8.977 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.031/0.4343, allocations: 25.78 MB / 0.6277 GB, free: 14.33 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004265/0.4385, allocations: 1.622 MB / 0.6292 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001382/0.4399, allocations: 0.9566 MB / 0.6302 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.4401, allocations: 20.33 kB / 0.6302 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.4401, allocations: 54.81 kB / 0.6303 GB, free: 11.62 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.536e-06/0.4401, allocations: 0 / 0.6303 GB, free: 11.62 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01632/0.4564, allocations: 6.549 MB / 0.6366 GB, free: 5.051 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.4565, allocations: 141 kB / 0.6368 GB, free: 4.883 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004132/0.4607, allocations: 2.894 MB / 0.6396 GB, free: 1.977 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000118/0.4608, allocations: 41.7 kB / 0.6396 GB, free: 1.93 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001695/0.4625, allocations: 2.194 MB / 0.6418 GB, free: 15.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004883/0.463, allocations: 468.5 kB / 0.6422 GB, free: 15.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001206/0.4642, allocations: 0.9051 MB / 0.6431 GB, free: 14.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4643, allocations: 305.1 kB / 0.6434 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002264/0.4665, allocations: 1.422 MB / 0.6448 GB, free: 12.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004663/0.4712, allocations: 4.287 MB / 0.649 GB, free: 6.863 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007638/0.4789, allocations: 6.192 MB / 0.655 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.629e-05/0.4789, allocations: 28 kB / 0.6551 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009554/0.4885, allocations: 5.501 MB / 0.6604 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.562e-05/0.4886, allocations: 48.97 kB / 0.6605 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000115/0.4887, allocations: 104 kB / 0.6606 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001494/0.4888, allocations: 139.8 kB / 0.6607 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004166/0.493, allocations: 1.22 MB / 0.6619 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001884/0.4932, allocations: 199.2 kB / 0.6621 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/0.4959, allocations: 247.6 kB / 0.6623 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004263/0.4964, allocations: 276 kB / 0.6626 GB, free: 7.5 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.002122/0.4985, allocations: 1.383 MB / 0.6639 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004423/0.4989, allocations: 254.3 kB / 0.6642 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/0.5012, allocations: 1.233 MB / 0.6654 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-05/0.5012, allocations: 23.91 kB / 0.6654 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.5012, allocations: 0 / 0.6654 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.5012, allocations: 7.984 kB / 0.6654 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007891/0.5091, allocations: 4.338 MB / 0.6697 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.5091, allocations: 4 kB / 0.6697 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001834/0.511, allocations: 367.3 kB / 0.67 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.45e-05/0.511, allocations: 8 kB / 0.67 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.176e-05/0.5111, allocations: 27.98 kB / 0.67 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-05/0.5111, allocations: 8 kB / 0.6701 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-06/0.5111, allocations: 8.219 kB / 0.6701 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002889/0.514, allocations: 2.176 MB / 0.6722 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005408/0.5145, allocations: 242.3 kB / 0.6724 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002732/0.5148, allocations: 24 kB / 0.6724 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009403/0.5157, allocations: 59.91 kB / 0.6725 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.5159, allocations: 71.77 kB / 0.6726 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.874e-05/0.516, allocations: 47.86 kB / 0.6726 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002945/0.5189, allocations: 1.819 MB / 0.6744 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5189, allocations: 4.281 kB / 0.6744 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003289/0.5222, allocations: 0.6132 MB / 0.675 GB, free: 10.61 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.003456/0.5257, allocations: 2.791 MB / 0.6777 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00527/0.531, allocations: 3.145 MB / 0.6808 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/0.531, allocations: 0 / 0.6808 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.5321, allocations: 0.7402 MB / 0.6815 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/0.5338, allocations: 271.7 kB / 0.6818 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04464/0.5785, allocations: 29.81 MB / 0.7109 GB, free: 1.773 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002238/0.5807, allocations: 1.643 MB / 0.7125 GB, free: 92 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003363/0.5841, allocations: 1.459 MB / 0.7139 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001776/0.5858, allocations: 1.077 MB / 0.715 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of SimCode: time 1.032e-06/0.5858, allocations: 0 / 0.715 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3054/0.8913, allocations: 42.94 MB / 0.7569 GB, free: 143.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.27/21.16, allocations: 7.031 kB / 0.7569 GB, free: 143.7 MB / 0.5606 GB " [Timeout remaining time 639] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 24.714105715043843]