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.001339/0.001339, allocations: 118.3 kB / 18.49 MB, free: 4.535 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.001389/0.001389, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.477/1.477, allocations: 230.4 MB / 254.7 MB, free: 15 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.217/0.217, allocations: 46.91 MB / 357.7 MB, free: 10.17 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestMove",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003472/0.003472, allocations: 95.78 kB / 0.4916 GB, free: 7.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1775, allocations: 66.04 MB / 0.5561 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01044/0.1879, allocations: 7.504 MB / 0.5635 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006121/0.194, allocations: 3.381 MB / 0.5668 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007706/0.1948, allocations: 35.88 kB / 0.5668 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.1966, allocations: 0.8209 MB / 0.5676 GB, free: 9.734 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003091/0.1997, allocations: 1.312 MB / 0.5689 GB, free: 8.418 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.2009, allocations: 0.5262 MB / 0.5694 GB, free: 7.891 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00357/0.2045, allocations: 2.601 MB / 0.5719 GB, free: 5.285 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/0.2063, allocations: 1.096 MB / 0.573 GB, free: 4.176 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.2075, allocations: 0.7861 MB / 0.5738 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001908/0.2094, allocations: 1.222 MB / 0.575 GB, free: 2.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000519/0.2099, allocations: 147.9 kB / 0.5751 GB, free: 2.016 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002219/0.2121, allocations: 0.9555 MB / 0.576 GB, free: 1.059 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001525/0.2136, allocations: 1.032 MB / 0.577 GB, free: 24 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.2155, allocations: 1.211 MB / 0.5782 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005436/0.2209, allocations: 4.038 MB / 0.5822 GB, free: 10.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.2209, allocations: 7.938 kB / 0.5822 GB, free: 10.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2209, allocations: 0 / 0.5822 GB, free: 10.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001599/0.2211, allocations: 0 / 0.5822 GB, free: 10.74 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.006447/0.2275, allocations: 3.026 MB / 0.5851 GB, free: 7.652 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.2276, allocations: 8.031 kB / 0.5851 GB, free: 7.645 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.191e-05/0.2276, allocations: 63.31 kB / 0.5852 GB, free: 7.582 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005932/0.2282, allocations: 454.5 kB / 0.5856 GB, free: 7.129 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00631/0.2345, allocations: 1.672 MB / 0.5873 GB, free: 5.453 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002958/0.2375, allocations: 1.574 MB / 0.5888 GB, free: 3.836 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.2376, allocations: 123.1 kB / 0.5889 GB, free: 3.715 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003514/0.238, allocations: 163.8 kB / 0.5891 GB, free: 3.555 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2211/0.459, allocations: 6.453 MB / 0.5954 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.992e-05/0.4591, allocations: 29.33 kB / 0.5954 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002443/0.4594, allocations: 84.75 kB / 0.5955 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002579/0.4619, allocations: 1.438 MB / 0.5969 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01117/0.4731, allocations: 5.729 MB / 0.6025 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02899/0.5021, allocations: 26.75 MB / 0.6286 GB, free: 9.758 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003876/0.506, allocations: 2.072 MB / 0.6306 GB, free: 8.383 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.507, allocations: 0.9599 MB / 0.6316 GB, free: 7.887 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.5071, allocations: 180.9 kB / 0.6317 GB, free: 7.691 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.5072, allocations: 42.67 kB / 0.6318 GB, free: 7.645 MB / 446.1 MB Notification: Performance of pre-optimization done (n=100): time 3.066e-06/0.5072, allocations: 3.938 kB / 0.6318 GB, free: 7.641 MB / 446.1 MB Notification: Performance of matching and sorting (n=112): time 0.01427/0.5214, allocations: 6.499 MB / 0.6381 GB, free: 4.234 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.5215, allocations: 147.8 kB / 0.6383 GB, free: 4.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003011/0.5245, allocations: 2.896 MB / 0.6411 GB, free: 1.383 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001439/0.5247, allocations: 41.7 kB / 0.6411 GB, free: 1.336 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001156/0.5258, allocations: 2.193 MB / 0.6433 GB, free: 15.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004842/0.5263, allocations: 476.1 kB / 0.6437 GB, free: 14.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001137/0.5274, allocations: 0.8971 MB / 0.6446 GB, free: 13.83 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5276, allocations: 305.1 kB / 0.6449 GB, free: 13.53 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002199/0.5298, allocations: 1.418 MB / 0.6463 GB, free: 12.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004617/0.5344, allocations: 4.291 MB / 0.6505 GB, free: 6.359 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007586/0.542, allocations: 6.197 MB / 0.6565 GB, free: 14.73 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-05/0.542, allocations: 32 kB / 0.6566 GB, free: 14.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.009511/0.5516, allocations: 5.497 MB / 0.6619 GB, free: 9.195 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.298e-05/0.5516, allocations: 51.94 kB / 0.662 GB, free: 9.145 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000111/0.5517, allocations: 105.6 kB / 0.6621 GB, free: 9.043 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000147/0.5519, allocations: 135.8 kB / 0.6622 GB, free: 8.914 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004281/0.5562, allocations: 1.224 MB / 0.6634 GB, free: 7.691 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00019/0.5564, allocations: 199.6 kB / 0.6636 GB, free: 7.496 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003301/0.5597, allocations: 247.6 kB / 0.6638 GB, free: 7.254 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005029/0.5602, allocations: 280 kB / 0.6641 GB, free: 6.98 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.002418/0.5626, allocations: 1.38 MB / 0.6654 GB, free: 5.586 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000501/0.5631, allocations: 250.3 kB / 0.6657 GB, free: 5.34 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002234/0.5653, allocations: 1.246 MB / 0.6669 GB, free: 4.09 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-05/0.5654, allocations: 19.83 kB / 0.6669 GB, free: 4.074 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.5654, allocations: 0 / 0.6669 GB, free: 4.074 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.5654, allocations: 7.984 kB / 0.6669 GB, free: 4.066 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008438/0.5738, allocations: 4.56 MB / 0.6714 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.5738, allocations: 4.531 kB / 0.6714 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/0.5758, allocations: 363.4 kB / 0.6717 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/0.5758, allocations: 8 kB / 0.6717 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.851e-05/0.5759, allocations: 24 kB / 0.6718 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.762e-05/0.5759, allocations: 17.52 kB / 0.6718 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.859e-06/0.5759, allocations: 11.94 kB / 0.6718 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002994/0.5789, allocations: 2.174 MB / 0.6739 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005731/0.5795, allocations: 315.3 kB / 0.6742 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/0.5797, allocations: 23.98 kB / 0.6742 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009306/0.5806, allocations: 55.94 kB / 0.6743 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.5808, allocations: 71.73 kB / 0.6744 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.962e-05/0.5809, allocations: 42.02 kB / 0.6744 GB, free: 12.24 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002933/0.5838, allocations: 1.815 MB / 0.6762 GB, free: 10.42 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5838, allocations: 3.938 kB / 0.6762 GB, free: 10.42 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003429/0.5873, allocations: 0.6132 MB / 0.6768 GB, free: 9.805 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.003682/0.5909, allocations: 2.798 MB / 0.6795 GB, free: 6.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005687/0.5966, allocations: 3.145 MB / 0.6826 GB, free: 3.812 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.5966, allocations: 0 / 0.6826 GB, free: 3.812 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.5978, allocations: 0.7381 MB / 0.6833 GB, free: 3.074 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/0.5995, allocations: 278 kB / 0.6836 GB, free: 2.809 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04566/0.6452, allocations: 29.8 MB / 0.7127 GB, free: 1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002408/0.6476, allocations: 2.21 MB / 0.7148 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003296/0.6509, allocations: 1.459 MB / 0.7162 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00169/0.6526, allocations: 1.081 MB / 0.7173 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of SimCode: time 9.11e-07/0.6526, allocations: 0 / 0.7173 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08339/0.736, allocations: 41.54 MB / 0.7579 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.98/17.72, allocations: 7.438 kB / 0.7579 GB, free: 2.844 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/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: 21.201782382035162]