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.001403/0.001403, allocations: 114 kB / 20.43 MB, free: 1.457 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.001638/0.001638, allocations: 215.5 kB / 23.74 MB, free: 4.672 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.522/1.522, allocations: 230.5 MB / 257.4 MB, free: 8 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.2853/0.2853, allocations: 46.92 MB / 360.8 MB, free: 4.164 MB / 286.1 MB " [Timeout remaining time 179] 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.002564/0.002564, allocations: 76.11 kB / 0.4962 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.337, allocations: 66.1 MB / 0.5607 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009674/0.3467, allocations: 7.532 MB / 0.5681 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006827/0.3535, allocations: 3.397 MB / 0.5714 GB, free: 9.461 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.3546, allocations: 47.81 kB / 0.5714 GB, free: 9.414 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002193/0.3568, allocations: 0.817 MB / 0.5722 GB, free: 8.594 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003772/0.3605, allocations: 1.315 MB / 0.5735 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.3621, allocations: 0.5301 MB / 0.574 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004196/0.3663, allocations: 2.601 MB / 0.5766 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002105/0.3684, allocations: 1.158 MB / 0.5777 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/0.3699, allocations: 0.7784 MB / 0.5785 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002291/0.3722, allocations: 1.23 MB / 0.5797 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005538/0.3728, allocations: 140 kB / 0.5798 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002265/0.375, allocations: 0.9633 MB / 0.5807 GB, free: 15.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001517/0.3765, allocations: 1.04 MB / 0.5818 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002264/0.3788, allocations: 1.211 MB / 0.5829 GB, free: 13.58 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00625/0.3851, allocations: 4.042 MB / 0.5869 GB, free: 9.523 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3851, allocations: 0 / 0.5869 GB, free: 9.523 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3851, allocations: 0 / 0.5869 GB, free: 9.523 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001502/0.3852, allocations: 0 / 0.5869 GB, free: 9.523 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.007025/0.3922, allocations: 2.955 MB / 0.5898 GB, free: 6.523 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.3923, allocations: 12.03 kB / 0.5898 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000946/0.3932, allocations: 462.5 kB / 0.5902 GB, free: 6.051 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006254/0.3995, allocations: 1.668 MB / 0.5919 GB, free: 4.379 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003963/0.4034, allocations: 1.489 MB / 0.5933 GB, free: 2.859 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/0.4036, allocations: 127.3 kB / 0.5934 GB, free: 2.734 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006951/0.4043, allocations: 171.8 kB / 0.5936 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01458/0.4189, allocations: 6.456 MB / 0.5999 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001437/0.419, allocations: 27.75 kB / 0.5999 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007232/0.4198, allocations: 83.89 kB / 0.6 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004148/0.4239, allocations: 1.437 MB / 0.6014 GB, free: 10.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01723/0.4411, allocations: 5.732 MB / 0.607 GB, free: 4.297 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05043/0.4916, allocations: 26.64 MB / 0.633 GB, free: 8.793 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006451/0.498, allocations: 1.613 MB / 0.6346 GB, free: 7.141 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002188/0.5002, allocations: 0.9604 MB / 0.6355 GB, free: 6.168 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001979/0.5004, allocations: 36.23 kB / 0.6356 GB, free: 6.133 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/0.5005, allocations: 42.89 kB / 0.6356 GB, free: 6.082 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 4.538e-06/0.5005, allocations: 0 / 0.6356 GB, free: 6.082 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.0253/0.5258, allocations: 6.501 MB / 0.642 GB, free: 15.56 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.5259, allocations: 152.8 kB / 0.6421 GB, free: 15.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005734/0.5316, allocations: 2.894 MB / 0.6449 GB, free: 12.47 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002381/0.5319, allocations: 41.7 kB / 0.645 GB, free: 12.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00213/0.534, allocations: 2.198 MB / 0.6471 GB, free: 10.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007243/0.5347, allocations: 476.5 kB / 0.6476 GB, free: 9.742 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001676/0.5364, allocations: 0.8973 MB / 0.6484 GB, free: 8.832 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.5365, allocations: 305.1 kB / 0.6487 GB, free: 8.531 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002543/0.5391, allocations: 1.422 MB / 0.6501 GB, free: 7.102 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005446/0.5445, allocations: 4.283 MB / 0.6543 GB, free: 1.367 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008531/0.553, allocations: 6.194 MB / 0.6604 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001543/0.5532, allocations: 28 kB / 0.6604 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01277/0.566, allocations: 5.497 MB / 0.6658 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.5661, allocations: 50.03 kB / 0.6658 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000203/0.5663, allocations: 104 kB / 0.6659 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000194/0.5665, allocations: 132 kB / 0.666 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004705/0.5712, allocations: 1.224 MB / 0.6672 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002447/0.5714, allocations: 199.6 kB / 0.6674 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003424/0.5749, allocations: 247.7 kB / 0.6676 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008151/0.5757, allocations: 276 kB / 0.6679 GB, free: 1.992 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.003789/0.5795, allocations: 1.395 MB / 0.6693 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008122/0.5803, allocations: 250.3 kB / 0.6695 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002791/0.5831, allocations: 1.245 MB / 0.6707 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.332e-05/0.5831, allocations: 15.94 kB / 0.6707 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.5831, allocations: 4 kB / 0.6707 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.5831, allocations: 3.984 kB / 0.6708 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/0.5932, allocations: 4.527 MB / 0.6752 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.107e-05/0.5932, allocations: 8 kB / 0.6752 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/0.595, allocations: 371.4 kB / 0.6755 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.898e-05/0.595, allocations: 8 kB / 0.6755 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/0.5952, allocations: 20 kB / 0.6756 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-05/0.5952, allocations: 11.94 kB / 0.6756 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.5952, allocations: 4 kB / 0.6756 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003091/0.5983, allocations: 2.183 MB / 0.6777 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007308/0.599, allocations: 238.1 kB / 0.6779 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004666/0.5995, allocations: 24 kB / 0.678 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.6006, allocations: 59.91 kB / 0.678 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.6008, allocations: 75.77 kB / 0.6781 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.675e-05/0.6009, allocations: 32 kB / 0.6781 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003469/0.6044, allocations: 1.819 MB / 0.6799 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6044, allocations: 0 / 0.6799 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003709/0.6081, allocations: 0.617 MB / 0.6805 GB, free: 4.906 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.003912/0.612, allocations: 2.795 MB / 0.6832 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005854/0.6179, allocations: 3.148 MB / 0.6863 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/0.6179, allocations: 0 / 0.6863 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.6191, allocations: 0.7336 MB / 0.687 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/0.6215, allocations: 274.9 kB / 0.6873 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05328/0.6748, allocations: 29.81 MB / 0.7164 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003157/0.678, allocations: 2.209 MB / 0.7185 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003689/0.6817, allocations: 1.455 MB / 0.72 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002073/0.6837, allocations: 1.081 MB / 0.721 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of SimCode: time 1.222e-06/0.6837, allocations: 0 / 0.721 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3557/1.039, allocations: 45.16 MB / 0.7651 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.59/21.63, allocations: 4.062 kB / 0.7651 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: 24.910345948068425]