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.001402/0.001402, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001717/0.001717, allocations: 206.3 kB / 23.73 MB, free: 4.402 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.423/1.423, allocations: 230.5 MB / 257.4 MB, free: 7.758 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.222/0.222, allocations: 46.95 MB / 360.8 MB, free: 3.93 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002396/0.002396, allocations: 87.84 kB / 0.4961 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3181, allocations: 66.08 MB / 0.5607 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.008988/0.3271, allocations: 6.68 MB / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006651/0.3338, allocations: 3.164 MB / 0.5703 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008532/0.3346, allocations: 39.81 kB / 0.5703 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001877/0.3365, allocations: 0.7859 MB / 0.5711 GB, free: 9.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003276/0.3398, allocations: 1.335 MB / 0.5724 GB, free: 7.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.3412, allocations: 0.5223 MB / 0.5729 GB, free: 7.457 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003976/0.3452, allocations: 2.605 MB / 0.5754 GB, free: 4.848 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/0.3468, allocations: 1.142 MB / 0.5766 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.3482, allocations: 0.7901 MB / 0.5773 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001851/0.3501, allocations: 1.191 MB / 0.5785 GB, free: 1.703 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003537/0.3504, allocations: 140 kB / 0.5786 GB, free: 1.566 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001698/0.3521, allocations: 0.8345 MB / 0.5794 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001059/0.3532, allocations: 1.028 MB / 0.5804 GB, free: 15.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.3543, allocations: 0.869 MB / 0.5813 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004862/0.3591, allocations: 4.053 MB / 0.5853 GB, free: 10.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3591, allocations: 0 / 0.5853 GB, free: 10.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.3591, allocations: 0 / 0.5853 GB, free: 10.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.613e-05/0.3592, allocations: 4 kB / 0.5853 GB, free: 10.75 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.005631/0.3648, allocations: 2.947 MB / 0.5881 GB, free: 7.758 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.3649, allocations: 12.03 kB / 0.5881 GB, free: 7.746 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005921/0.3655, allocations: 458.5 kB / 0.5886 GB, free: 7.289 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006088/0.3716, allocations: 1.676 MB / 0.5902 GB, free: 5.609 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003488/0.375, allocations: 1.497 MB / 0.5917 GB, free: 4.082 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.3752, allocations: 123.4 kB / 0.5918 GB, free: 3.961 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003605/0.3755, allocations: 167.8 kB / 0.592 GB, free: 3.797 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01036/0.3859, allocations: 6.456 MB / 0.5983 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.157e-05/0.386, allocations: 31.75 kB / 0.5983 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002515/0.3862, allocations: 87.88 kB / 0.5984 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002649/0.3889, allocations: 1.437 MB / 0.5998 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0105/0.3994, allocations: 5.708 MB / 0.6054 GB, free: 5.527 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03272/0.4321, allocations: 25.79 MB / 0.6305 GB, free: 10.88 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004286/0.4364, allocations: 1.627 MB / 0.6321 GB, free: 9.207 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001395/0.4378, allocations: 0.9488 MB / 0.6331 GB, free: 8.246 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.4379, allocations: 24.53 kB / 0.6331 GB, free: 8.223 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.438, allocations: 50.77 kB / 0.6331 GB, free: 8.164 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.015e-06/0.438, allocations: 0 / 0.6331 GB, free: 8.164 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01586/0.4538, allocations: 6.536 MB / 0.6395 GB, free: 1.609 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.564e-05/0.4539, allocations: 144.9 kB / 0.6397 GB, free: 1.438 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004201/0.4581, allocations: 3.068 MB / 0.6426 GB, free: 14.35 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.4582, allocations: 33.7 kB / 0.6427 GB, free: 14.31 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00168/0.4599, allocations: 2.198 MB / 0.6448 GB, free: 12.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004618/0.4604, allocations: 472.5 kB / 0.6453 GB, free: 11.63 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/0.4615, allocations: 0.8973 MB / 0.6462 GB, free: 10.72 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4617, allocations: 305.1 kB / 0.6464 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002268/0.4639, allocations: 1.418 MB / 0.6478 GB, free: 8.996 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004615/0.4685, allocations: 4.287 MB / 0.652 GB, free: 3.258 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007534/0.4761, allocations: 6.194 MB / 0.6581 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-05/0.4761, allocations: 32 kB / 0.6581 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.008944/0.4851, allocations: 5.495 MB / 0.6635 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.298e-05/0.4852, allocations: 52 kB / 0.6635 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001084/0.4853, allocations: 104 kB / 0.6636 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001455/0.4854, allocations: 136 kB / 0.6637 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004252/0.4897, allocations: 1.224 MB / 0.6649 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001774/0.4898, allocations: 203.4 kB / 0.6651 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00256/0.4924, allocations: 239.7 kB / 0.6654 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003884/0.4928, allocations: 292 kB / 0.6656 GB, free: 3.867 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.001956/0.4947, allocations: 1.387 MB / 0.667 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000408/0.4952, allocations: 250.3 kB / 0.6672 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/0.4972, allocations: 1.237 MB / 0.6684 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.829e-05/0.4972, allocations: 19.94 kB / 0.6685 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.4972, allocations: 0 / 0.6685 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.4972, allocations: 3.984 kB / 0.6685 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00779/0.505, allocations: 4.343 MB / 0.6727 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/0.505, allocations: 4 kB / 0.6727 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001905/0.5069, allocations: 363.8 kB / 0.6731 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.548e-05/0.507, allocations: 16 kB / 0.6731 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.962e-05/0.507, allocations: 23.98 kB / 0.6731 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-05/0.5071, allocations: 11.98 kB / 0.6731 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/0.5071, allocations: 11.94 kB / 0.6731 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002855/0.5099, allocations: 2.168 MB / 0.6752 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005274/0.5104, allocations: 242.2 kB / 0.6755 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002483/0.5107, allocations: 19.98 kB / 0.6755 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008964/0.5116, allocations: 55.94 kB / 0.6755 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.5117, allocations: 75.77 kB / 0.6756 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.62e-05/0.5118, allocations: 35.98 kB / 0.6756 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002664/0.5145, allocations: 1.819 MB / 0.6774 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5145, allocations: 0 / 0.6774 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002867/0.5174, allocations: 0.6208 MB / 0.678 GB, free: 6.98 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.003342/0.5207, allocations: 2.802 MB / 0.6808 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005013/0.5257, allocations: 3.145 MB / 0.6838 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.5257, allocations: 0 / 0.6838 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.5268, allocations: 0.7298 MB / 0.6845 GB, free: 248 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.5284, allocations: 281.9 kB / 0.6848 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04259/0.571, allocations: 29.81 MB / 0.7139 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002195/0.5732, allocations: 1.639 MB / 0.7155 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0034/0.5766, allocations: 1.459 MB / 0.7169 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001654/0.5782, allocations: 1.081 MB / 0.718 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of SimCode: time 9.72e-07/0.5782, allocations: 0 / 0.718 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2786/0.8568, allocations: 41.28 MB / 0.7583 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.63, allocations: 7.828 kB / 0.7583 GB, free: 138.4 MB / 0.5606 GB " [Timeout remaining time 645] (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: 17.73772864602506]