Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001532/0.001532, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00165/0.00165, allocations: 206.1 kB / 23.73 MB, free: 4.379 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.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2263/0.2263, allocations: 46.96 MB / 360.9 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 67.89 kB / 0.4961 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3356, allocations: 66.03 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009313/0.345, allocations: 6.688 MB / 0.5671 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007067/0.352, allocations: 3.16 MB / 0.5702 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.3533, allocations: 39.81 kB / 0.5702 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001983/0.3553, allocations: 0.7898 MB / 0.571 GB, free: 9.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003436/0.3587, allocations: 1.327 MB / 0.5723 GB, free: 8.188 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.36, allocations: 0.5262 MB / 0.5728 GB, free: 7.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003752/0.3638, allocations: 2.601 MB / 0.5753 GB, free: 5.055 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002013/0.3658, allocations: 1.162 MB / 0.5765 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001684/0.3675, allocations: 0.7822 MB / 0.5772 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002306/0.3698, allocations: 1.23 MB / 0.5784 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003605/0.3701, allocations: 140 kB / 0.5786 GB, free: 1.723 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.3719, allocations: 0.8423 MB / 0.5794 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0013/0.3732, allocations: 1.04 MB / 0.5804 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.3743, allocations: 0.869 MB / 0.5813 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004986/0.3793, allocations: 4.045 MB / 0.5852 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3793, allocations: 4 kB / 0.5852 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3793, allocations: 0 / 0.5852 GB, free: 10.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.015e-05/0.3794, allocations: 0 / 0.5852 GB, free: 10.89 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.005897/0.3853, allocations: 2.955 MB / 0.5881 GB, free: 7.895 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3853, allocations: 8.031 kB / 0.5881 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006052/0.3859, allocations: 466.5 kB / 0.5886 GB, free: 7.422 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006152/0.3921, allocations: 1.676 MB / 0.5902 GB, free: 5.742 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004003/0.3961, allocations: 1.493 MB / 0.5917 GB, free: 4.219 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.3962, allocations: 123.4 kB / 0.5918 GB, free: 4.098 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004416/0.3966, allocations: 167.8 kB / 0.5919 GB, free: 3.934 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/0.4072, allocations: 6.456 MB / 0.5982 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.526e-05/0.4073, allocations: 31.73 kB / 0.5983 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002488/0.4075, allocations: 83.89 kB / 0.5983 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00263/0.4102, allocations: 1.433 MB / 0.5997 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01162/0.4218, allocations: 5.716 MB / 0.6053 GB, free: 5.676 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03429/0.4561, allocations: 25.79 MB / 0.6305 GB, free: 11.03 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004141/0.4602, allocations: 1.616 MB / 0.6321 GB, free: 9.371 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.4616, allocations: 0.9568 MB / 0.633 GB, free: 8.402 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.4617, allocations: 20.31 kB / 0.633 GB, free: 8.383 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.4618, allocations: 50.77 kB / 0.6331 GB, free: 8.324 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.647e-06/0.4618, allocations: 0 / 0.6331 GB, free: 8.324 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.0162/0.478, allocations: 6.542 MB / 0.6395 GB, free: 1.766 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.4781, allocations: 141 kB / 0.6396 GB, free: 1.598 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004196/0.4823, allocations: 3.06 MB / 0.6426 GB, free: 14.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001316/0.4824, allocations: 41.7 kB / 0.6426 GB, free: 14.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001698/0.4841, allocations: 2.202 MB / 0.6448 GB, free: 12.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005622/0.4847, allocations: 480.5 kB / 0.6452 GB, free: 11.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001189/0.4858, allocations: 0.8934 MB / 0.6461 GB, free: 10.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.486, allocations: 301.1 kB / 0.6464 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002161/0.4881, allocations: 1.43 MB / 0.6478 GB, free: 9.141 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00464/0.4928, allocations: 4.279 MB / 0.652 GB, free: 3.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007818/0.5006, allocations: 6.193 MB / 0.658 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.192e-05/0.5007, allocations: 28 kB / 0.6581 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.0109/0.5116, allocations: 5.496 MB / 0.6634 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.921e-05/0.5117, allocations: 52.03 kB / 0.6635 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001776/0.5119, allocations: 108 kB / 0.6636 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001507/0.512, allocations: 135.9 kB / 0.6637 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00458/0.5166, allocations: 1.224 MB / 0.6649 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002081/0.5168, allocations: 203.2 kB / 0.6651 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003432/0.5202, allocations: 243.6 kB / 0.6653 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009163/0.5211, allocations: 280 kB / 0.6656 GB, free: 4.031 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.002709/0.5239, allocations: 1.387 MB / 0.667 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007216/0.5246, allocations: 250.3 kB / 0.6672 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002212/0.5268, allocations: 1.237 MB / 0.6684 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.207e-05/0.5268, allocations: 15.94 kB / 0.6684 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.5268, allocations: 7.938 kB / 0.6684 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.5268, allocations: 3.984 kB / 0.6684 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008538/0.5354, allocations: 4.33 MB / 0.6727 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/0.5354, allocations: 8 kB / 0.6727 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001817/0.5372, allocations: 371.3 kB / 0.673 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.525e-05/0.5372, allocations: 8.531 kB / 0.673 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.113e-05/0.5373, allocations: 24 kB / 0.673 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/0.5373, allocations: 8 kB / 0.6731 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.717e-06/0.5373, allocations: 7.938 kB / 0.6731 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00334/0.5407, allocations: 2.178 MB / 0.6752 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006881/0.5414, allocations: 238.3 kB / 0.6754 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002957/0.5417, allocations: 31.97 kB / 0.6754 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009432/0.5426, allocations: 55.92 kB / 0.6755 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.5428, allocations: 71.77 kB / 0.6756 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.965e-05/0.5429, allocations: 40 kB / 0.6756 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002997/0.5458, allocations: 1.823 MB / 0.6774 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.5458, allocations: 0 / 0.6774 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00323/0.5491, allocations: 0.6132 MB / 0.678 GB, free: 7.148 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.003303/0.5524, allocations: 2.802 MB / 0.6807 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005225/0.5576, allocations: 3.146 MB / 0.6838 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.5576, allocations: 0 / 0.6838 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.5587, allocations: 0.7414 MB / 0.6845 GB, free: 408 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.5604, allocations: 265.5 kB / 0.6848 GB, free: 140 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04464/0.6051, allocations: 29.81 MB / 0.7139 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002178/0.6072, allocations: 1.639 MB / 0.7155 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003339/0.6106, allocations: 1.467 MB / 0.7169 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002062/0.6126, allocations: 1.077 MB / 0.718 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of SimCode: time 1.443e-06/0.6126, allocations: 0 / 0.718 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3299/0.9426, allocations: 43.25 MB / 0.7602 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.89, allocations: 4.062 kB / 0.7602 GB, free: 136.9 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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: 18.01804809301393]