Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.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.001365/0.001365, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001688/0.001688, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.984/0.984, allocations: 158.6 MB / 186 MB, free: 2.777 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.124/0.124, allocations: 32.37 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 299.1 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.401e-05, allocations: 2.312 kB / 299.1 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.1467/0.1467, allocations: 3.007 MB / 302.1 MB, free: 19.24 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.148, allocations: 446.6 kB / 302.5 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.1481, allocations: 11.81 kB / 302.5 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.1482, allocations: 65.02 kB / 302.6 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.1486, allocations: 178.3 kB / 302.7 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.1488, allocations: 102.9 kB / 302.8 MB, free: 19.01 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004834/0.1493, allocations: 0.5603 MB / 303.4 MB, free: 18.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.1495, allocations: 114.5 kB / 303.5 MB, free: 18.8 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004072/0.15, allocations: 321 kB / 303.8 MB, free: 18.72 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.1502, allocations: 157.9 kB / 304 MB, free: 18.68 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.825e-05/0.1502, allocations: 39.62 kB / 304 MB, free: 18.68 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.192e-05/0.1503, allocations: 41.16 kB / 304.1 MB, free: 18.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.046e-05/0.1503, allocations: 97.92 kB / 304.2 MB, free: 18.61 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.1505, allocations: 181.1 kB / 304.3 MB, free: 18.54 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.1508, allocations: 348.8 kB / 304.7 MB, free: 18.38 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1508, allocations: 0 / 304.7 MB, free: 18.38 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1508, allocations: 0 / 304.7 MB, free: 18.38 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1508, allocations: 1.375 kB / 304.7 MB, free: 18.38 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0006317/0.1515, allocations: 0.6285 MB / 305.3 MB, free: 17.92 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1515, allocations: 9.656 kB / 305.3 MB, free: 17.92 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.934e-05/0.1516, allocations: 79.73 kB / 305.4 MB, free: 17.9 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.1518, allocations: 198.8 kB / 305.6 MB, free: 17.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.1518, allocations: 36 kB / 305.6 MB, free: 17.71 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.786e-05/0.1519, allocations: 61.77 kB / 305.7 MB, free: 17.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003369/0.1522, allocations: 359.5 kB / 306 MB, free: 17.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.1522, allocations: 12.23 kB / 306 MB, free: 17.49 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.1522, allocations: 22.09 kB / 306.1 MB, free: 17.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.1523, allocations: 11.56 kB / 306.1 MB, free: 17.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.1525, allocations: 140.5 kB / 306.2 MB, free: 17.46 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.1536, allocations: 1.35 MB / 307.6 MB, free: 16.42 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.1539, allocations: 313.5 kB / 307.9 MB, free: 16.17 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.432e-05/0.154, allocations: 110.4 kB / 308 MB, free: 16.09 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.154, allocations: 9.391 kB / 308 MB, free: 16.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.1541, allocations: 50.91 kB / 308 MB, free: 16.04 MB / 282.7 MB Notification: Performance of pre-optimization done (n=42): time 1.884e-06/0.1541, allocations: 0 / 308 MB, free: 16.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=42): time 0.0003907/0.1545, allocations: 242.7 kB / 308.3 MB, free: 15.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.1545, allocations: 265 kB / 308.5 MB, free: 15.65 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.1547, allocations: 239.7 kB / 308.8 MB, free: 15.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.1547, allocations: 32.39 kB / 308.8 MB, free: 15.46 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.748e-05/0.1548, allocations: 233.7 kB / 309 MB, free: 15.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.929e-05/0.1549, allocations: 191.7 kB / 309.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.155, allocations: 117.1 kB / 309.3 MB, free: 15.05 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.139e-05/0.1551, allocations: 354.5 kB / 309.7 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.463e-05/0.1551, allocations: 55.75 kB / 309.7 MB, free: 14.71 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.1553, allocations: 360.1 kB / 310.1 MB, free: 14.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.1557, allocations: 484.8 kB / 310.6 MB, free: 13.88 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.1557, allocations: 3.344 kB / 310.6 MB, free: 13.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0004264/0.1561, allocations: 400.5 kB / 311 MB, free: 13.76 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1562, allocations: 13.25 kB / 311 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.1562, allocations: 15.3 kB / 311 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.1562, allocations: 13.59 kB / 311 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.1565, allocations: 175.9 kB / 311.2 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/0.1566, allocations: 24.73 kB / 311.2 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.1567, allocations: 66.33 kB / 311.3 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.1567, allocations: 26 kB / 311.3 MB, free: 13.68 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * Array equations: 0 * 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.0001013/0.1568, allocations: 160.3 kB / 311.4 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.1569, allocations: 41.61 kB / 311.5 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.882e-05/0.157, allocations: 44 kB / 311.5 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.157, allocations: 9.5 kB / 311.5 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.157, allocations: 4.016 kB / 311.5 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.157, allocations: 4.188 kB / 311.5 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005315/0.1576, allocations: 223.8 kB / 311.8 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.1576, allocations: 6.344 kB / 311.8 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003147/0.1579, allocations: 126.7 kB / 311.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.1579, allocations: 2.469 kB / 311.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.1579, allocations: 15.7 kB / 311.9 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.1579, allocations: 5.016 kB / 311.9 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1579, allocations: 1.562 kB / 311.9 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000402/0.1583, allocations: 0.9624 MB / 312.9 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.1584, allocations: 35.64 kB / 312.9 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.1584, allocations: 16.56 kB / 312.9 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.1586, allocations: 6.75 kB / 312.9 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.1586, allocations: 32.3 kB / 313 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.1587, allocations: 13.05 kB / 313 MB, free: 12.51 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.48e-05/0.1587, allocations: 73.58 kB / 313 MB, free: 12.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1587, allocations: 0 / 313 MB, free: 12.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004967/0.1592, allocations: 140.3 kB / 313.2 MB, free: 12.45 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * Array equations: 0 * 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.000117/0.1593, allocations: 93.78 kB / 313.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003116/0.1596, allocations: 272.1 kB / 313.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/0.1597, allocations: 2.625 kB / 313.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.845e-05/0.1598, allocations: 106.6 kB / 313.6 MB, free: 12.26 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006806/0.1604, allocations: 106.5 kB / 313.7 MB, free: 12.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.1616, allocations: 1.009 MB / 314.8 MB, free: 11.55 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.1617, allocations: 118 kB / 314.9 MB, free: 11.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.1619, allocations: 46.44 kB / 314.9 MB, free: 11.47 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.162, allocations: 134.6 kB / 315.1 MB, free: 11.42 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.162, allocations: 0 / 315.1 MB, free: 11.42 MB / 282.7 MB Notification: Performance of Templates: time 0.006696/0.1687, allocations: 4.473 MB / 319.5 MB, free: 9.234 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3810662208124995]