Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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.0009471/0.0009471, allocations: 91.67 kB / 20.68 MB, free: 3.871 MB / 18.57 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.0008008/0.0008008, allocations: 166 kB / 23.95 MB, free: 0.5977 MB / 18.57 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 0.9175/0.9175, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2393/0.2393, allocations: 34.25 MB / 294.9 MB, free: 0.707 MB / 266.7 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.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.078e-05, allocations: 4.25 kB / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.1672/0.1672, allocations: 2.66 MB / 444.8 MB, free: 43.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009414/0.1681, allocations: 0.774 MB / 445.6 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.1683, allocations: 13.72 kB / 445.6 MB, free: 42.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.1684, allocations: 64.11 kB / 445.7 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.1686, allocations: 136.9 kB / 445.8 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.169, allocations: 112.8 kB / 445.9 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003235/0.1693, allocations: 474.4 kB / 446.4 MB, free: 42.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002339/0.1695, allocations: 128.2 kB / 446.5 MB, free: 42.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003183/0.1698, allocations: 264.7 kB / 446.8 MB, free: 42.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.17, allocations: 135.4 kB / 446.9 MB, free: 42.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.903e-05/0.17, allocations: 37.06 kB / 446.9 MB, free: 42.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.797e-05/0.1701, allocations: 36.06 kB / 447 MB, free: 42.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.126e-05/0.1702, allocations: 87.48 kB / 447.1 MB, free: 42.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.915e-05/0.1702, allocations: 143.4 kB / 447.2 MB, free: 42.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003881/0.1706, allocations: 460.8 kB / 447.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1706, allocations: 4 kB / 447.6 MB, free: 42.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1706, allocations: 0 / 447.6 MB, free: 42.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.1707, allocations: 4 kB / 447.7 MB, free: 42.04 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0007314/0.1714, allocations: 0.6044 MB / 448.3 MB, free: 41.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.1714, allocations: 8.719 kB / 448.3 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.617e-05/0.1715, allocations: 76.31 kB / 448.3 MB, free: 41.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.1717, allocations: 69.38 kB / 448.4 MB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.1721, allocations: 241.2 kB / 448.6 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.1721, allocations: 34.22 kB / 448.7 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.1721, allocations: 39.97 kB / 448.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004385/0.1726, allocations: 380.7 kB / 449.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.1726, allocations: 6.797 kB / 449.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.1726, allocations: 19 kB / 449.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.1726, allocations: 9 kB / 449.1 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.1729, allocations: 254.2 kB / 449.4 MB, free: 41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008396/0.1738, allocations: 0.9713 MB / 450.3 MB, free: 40.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.1741, allocations: 333.2 kB / 450.7 MB, free: 40.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.1742, allocations: 158.5 kB / 450.8 MB, free: 40.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.1743, allocations: 5.781 kB / 450.8 MB, free: 40.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.1743, allocations: 41.47 kB / 450.9 MB, free: 40.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 1.694e-06/0.1743, allocations: 0 / 450.9 MB, free: 40.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.001821/0.1761, allocations: 2.02 MB / 452.9 MB, free: 38.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.1761, allocations: 108.6 kB / 453 MB, free: 38.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.1762, allocations: 246.2 kB / 453.2 MB, free: 38.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1763, allocations: 36.3 kB / 453.3 MB, free: 38.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.1763, allocations: 190.4 kB / 453.5 MB, free: 38.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.875e-05/0.1764, allocations: 200.1 kB / 453.7 MB, free: 38.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/0.1765, allocations: 88.45 kB / 453.7 MB, free: 38.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.16e-05/0.1765, allocations: 349.4 kB / 454.1 MB, free: 37.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.1766, allocations: 131.2 kB / 454.2 MB, free: 37.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.1768, allocations: 237.8 kB / 454.4 MB, free: 37.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/0.1771, allocations: 397 kB / 454.8 MB, free: 37.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1771, allocations: 0 / 454.8 MB, free: 37.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005088/0.1776, allocations: 0.5503 MB / 455.4 MB, free: 37.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1776, allocations: 8.859 kB / 455.4 MB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1776, allocations: 8.469 kB / 455.4 MB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002022/0.1778, allocations: 121.2 kB / 455.5 MB, free: 37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.178, allocations: 101 kB / 455.6 MB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.1798, allocations: 4.867 MB / 460.5 MB, free: 32.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.1799, allocations: 21.31 kB / 460.5 MB, free: 32.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.18, allocations: 22.06 kB / 460.5 MB, free: 32.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 initialization (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.1801, allocations: 169.3 kB / 460.7 MB, free: 32.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.1801, allocations: 36.23 kB / 460.7 MB, free: 32.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.913e-05/0.1802, allocations: 51.7 kB / 460.8 MB, free: 32.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1802, allocations: 6.344 kB / 460.8 MB, free: 32.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.1802, allocations: 3.312 kB / 460.8 MB, free: 32.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1802, allocations: 6.75 kB / 460.8 MB, free: 32.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009828/0.1812, allocations: 1.231 MB / 462 MB, free: 31.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1812, allocations: 3.188 kB / 462 MB, free: 31.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.1814, allocations: 98.66 kB / 462.1 MB, free: 31.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001431/0.1815, allocations: 95.94 kB / 462.2 MB, free: 31.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.1815, allocations: 14.41 kB / 462.2 MB, free: 31.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.1827, allocations: 4.101 MB / 466.3 MB, free: 27.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1827, allocations: 0 / 466.3 MB, free: 27.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006698/0.1834, allocations: 0.923 MB / 467.3 MB, free: 26.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.1834, allocations: 41.89 kB / 467.3 MB, free: 26.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.1834, allocations: 11.53 kB / 467.3 MB, free: 26.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.1836, allocations: 17.2 kB / 467.3 MB, free: 26.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.884e-05/0.1836, allocations: 50.45 kB / 467.4 MB, free: 26.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.1837, allocations: 17.81 kB / 467.4 MB, free: 26.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.307e-05/0.1837, allocations: 181.5 kB / 467.6 MB, free: 26.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1837, allocations: 0 / 467.6 MB, free: 26.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004248/0.1842, allocations: 124.2 kB / 467.7 MB, free: 26.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007972/0.185, allocations: 1.463 MB / 469.1 MB, free: 25.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006709/0.1856, allocations: 0.7614 MB / 469.9 MB, free: 25.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1856, allocations: 192 / 469.9 MB, free: 25.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003054/0.1859, allocations: 0.5656 MB / 470.5 MB, free: 24.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.1864, allocations: 59.42 kB / 470.5 MB, free: 24.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.1893, allocations: 4.058 MB / 474.6 MB, free: 21.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.1894, allocations: 228.5 kB / 474.8 MB, free: 21.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.535e-05/0.1895, allocations: 37.05 kB / 474.9 MB, free: 21.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.1896, allocations: 125.6 kB / 475 MB, free: 21.72 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1896, allocations: 0 / 475 MB, free: 21.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.2164, allocations: 9.352 MB / 484.3 MB, free: 20.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.227/7.443, allocations: 10.47 kB / 484.3 MB, free: 20.03 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_Directions.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.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: 9.502016783691943]