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.00146/0.00146, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001587/0.001587, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.575/1.575, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2323/0.2323, allocations: 46.9 MB / 357.4 MB, free: 10.49 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.002289/0.002289, allocations: 75.88 kB / 0.4912 GB, free: 8.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1319, allocations: 65.99 MB / 0.5557 GB, free: 6.355 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01034/0.1423, allocations: 7.509 MB / 0.563 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007812/0.1501, allocations: 3.376 MB / 0.5663 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001574/0.1517, allocations: 31.94 kB / 0.5663 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002627/0.1543, allocations: 0.8209 MB / 0.5671 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004198/0.1585, allocations: 1.312 MB / 0.5684 GB, free: 9.242 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.1601, allocations: 0.5301 MB / 0.5689 GB, free: 8.711 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004294/0.1644, allocations: 2.601 MB / 0.5715 GB, free: 6.105 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001759/0.1662, allocations: 1.096 MB / 0.5725 GB, free: 4.996 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001608/0.1678, allocations: 0.7705 MB / 0.5733 GB, free: 4.223 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002071/0.1698, allocations: 1.226 MB / 0.5745 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003861/0.1702, allocations: 140 kB / 0.5746 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001902/0.1721, allocations: 0.9554 MB / 0.5756 GB, free: 1.898 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001183/0.1733, allocations: 1.032 MB / 0.5766 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001512/0.1748, allocations: 1.219 MB / 0.5778 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005552/0.1804, allocations: 4.041 MB / 0.5817 GB, free: 11.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1804, allocations: 0 / 0.5817 GB, free: 11.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1804, allocations: 0 / 0.5817 GB, free: 11.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.399e-05/0.1805, allocations: 0 / 0.5817 GB, free: 11.58 MB / 446.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.006101/0.1866, allocations: 3.022 MB / 0.5847 GB, free: 8.492 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.1866, allocations: 12.03 kB / 0.5847 GB, free: 8.48 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000602/0.1872, allocations: 458.5 kB / 0.5851 GB, free: 8.023 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006266/0.1935, allocations: 1.672 MB / 0.5867 GB, free: 6.348 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004107/0.1976, allocations: 1.566 MB / 0.5883 GB, free: 4.738 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.1977, allocations: 123.4 kB / 0.5884 GB, free: 4.617 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00042/0.1981, allocations: 163.8 kB / 0.5885 GB, free: 4.457 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2445/0.4427, allocations: 6.453 MB / 0.5948 GB, free: 31.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/0.4428, allocations: 29.7 kB / 0.5949 GB, free: 31.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002899/0.4431, allocations: 86.61 kB / 0.595 GB, free: 31.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002616/0.4457, allocations: 1.439 MB / 0.5964 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0116/0.4573, allocations: 5.725 MB / 0.6019 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02933/0.4866, allocations: 26.76 MB / 0.6281 GB, free: 10.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003946/0.4906, allocations: 2.062 MB / 0.6301 GB, free: 9.156 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.4917, allocations: 0.96 MB / 0.631 GB, free: 8.664 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/0.4919, allocations: 183.3 kB / 0.6312 GB, free: 8.465 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.4919, allocations: 42.73 kB / 0.6312 GB, free: 8.418 MB / 446.1 MB Notification: Performance of pre-optimization done (n=100): time 3.396e-06/0.4919, allocations: 3.938 kB / 0.6313 GB, free: 8.418 MB / 446.1 MB Notification: Performance of matching and sorting (n=112): time 0.0141/0.506, allocations: 6.503 MB / 0.6376 GB, free: 5.004 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.506, allocations: 140.3 kB / 0.6377 GB, free: 4.844 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003344/0.5094, allocations: 2.898 MB / 0.6406 GB, free: 2.703 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002246/0.5096, allocations: 41.7 kB / 0.6406 GB, free: 2.656 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009768/0.5106, allocations: 2.195 MB / 0.6427 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/0.5109, allocations: 472.2 kB / 0.6432 GB, free: 60 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/0.5122, allocations: 0.9036 MB / 0.6441 GB, free: 15.15 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.5124, allocations: 301.1 kB / 0.6444 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002371/0.5147, allocations: 1.418 MB / 0.6458 GB, free: 13.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005366/0.5201, allocations: 4.292 MB / 0.6499 GB, free: 7.684 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008974/0.5291, allocations: 6.197 MB / 0.656 GB, free: 52 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001205/0.5292, allocations: 36 kB / 0.656 GB, free: 16 kB / 462.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01199/0.5412, allocations: 5.496 MB / 0.6614 GB, free: 10.52 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.5413, allocations: 48 kB / 0.6614 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002039/0.5415, allocations: 104 kB / 0.6615 GB, free: 10.37 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001765/0.5417, allocations: 135.9 kB / 0.6617 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004816/0.5465, allocations: 1.228 MB / 0.6629 GB, free: 9.004 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002171/0.5467, allocations: 195.2 kB / 0.6631 GB, free: 8.812 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003166/0.5499, allocations: 247.9 kB / 0.6633 GB, free: 8.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007646/0.5506, allocations: 280 kB / 0.6636 GB, free: 8.297 MB / 478.1 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.0027/0.5533, allocations: 1.383 MB / 0.6649 GB, free: 6.902 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005927/0.5539, allocations: 250.3 kB / 0.6652 GB, free: 6.656 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002388/0.5563, allocations: 1.237 MB / 0.6664 GB, free: 5.414 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.729e-05/0.5564, allocations: 23.88 kB / 0.6664 GB, free: 5.391 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.5564, allocations: 7.938 kB / 0.6664 GB, free: 5.387 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.5564, allocations: 3.984 kB / 0.6664 GB, free: 5.383 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/0.5669, allocations: 4.552 MB / 0.6708 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/0.5669, allocations: 4.531 kB / 0.6708 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001963/0.5689, allocations: 375.3 kB / 0.6712 GB, free: 376 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-05/0.5689, allocations: 9.219 kB / 0.6712 GB, free: 368 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/0.569, allocations: 25.95 kB / 0.6712 GB, free: 344 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.187e-05/0.569, allocations: 8 kB / 0.6712 GB, free: 336 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.425e-06/0.569, allocations: 7.938 kB / 0.6713 GB, free: 328 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003188/0.5722, allocations: 2.174 MB / 0.6734 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008099/0.573, allocations: 323.2 kB / 0.6737 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004513/0.5735, allocations: 20 kB / 0.6737 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.5746, allocations: 61.95 kB / 0.6738 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.5748, allocations: 71.73 kB / 0.6738 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.065e-05/0.5749, allocations: 36 kB / 0.6739 GB, free: 13.56 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003523/0.5784, allocations: 1.823 MB / 0.6756 GB, free: 11.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5784, allocations: 4 kB / 0.6756 GB, free: 11.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003714/0.5821, allocations: 0.6054 MB / 0.6762 GB, free: 11.12 MB / 494.1 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.004045/0.5862, allocations: 2.801 MB / 0.679 GB, free: 8.246 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005849/0.592, allocations: 3.134 MB / 0.682 GB, free: 5.137 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.592, allocations: 4.062 kB / 0.682 GB, free: 5.133 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.5932, allocations: 0.746 MB / 0.6828 GB, free: 4.387 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/0.5955, allocations: 274.2 kB / 0.683 GB, free: 4.129 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05229/0.6478, allocations: 29.8 MB / 0.7121 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003074/0.6509, allocations: 2.21 MB / 0.7143 GB, free: 68 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003892/0.6548, allocations: 1.456 MB / 0.7157 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002529/0.6573, allocations: 1.077 MB / 0.7168 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of SimCode: time 1.182e-06/0.6573, allocations: 0 / 0.7168 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09127/0.7486, allocations: 41.5 MB / 0.7573 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.05/17.8, allocations: 11.84 kB / 0.7573 GB, free: 4.16 MB / 0.5606 GB " [Timeout remaining time 642] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 21.161660549230874]