Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.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.001149/0.001149, allocations: 79.92 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.001088/0.001088, 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.9358/0.9358, allocations: 158.6 MB / 186 MB, free: 2.77 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.1377/0.1377, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.193e-05, allocations: 2.312 kB / 299.1 MB, free: 2.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.1324/0.1325, allocations: 5.518 MB / 304.6 MB, free: 17.81 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00442/0.1369, allocations: 2.345 MB / 307 MB, free: 16.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009789/0.1379, allocations: 52.97 kB / 307 MB, free: 16.39 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000543/0.1384, allocations: 221.5 kB / 307.2 MB, free: 16.24 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005828/0.139, allocations: 197.5 kB / 307.4 MB, free: 16.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001218/0.1402, allocations: 462.8 kB / 307.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001211/0.1414, allocations: 1.131 MB / 309 MB, free: 15.22 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006499/0.1421, allocations: 409.6 kB / 309.4 MB, free: 14.96 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000811/0.1429, allocations: 0.5635 MB / 310 MB, free: 14.71 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005155/0.1434, allocations: 294.2 kB / 310.2 MB, free: 14.6 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.1435, allocations: 94.12 kB / 310.3 MB, free: 14.6 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003334/0.1439, allocations: 156.3 kB / 310.5 MB, free: 14.58 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.1441, allocations: 223.4 kB / 310.7 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003564/0.1444, allocations: 307.7 kB / 311 MB, free: 14.28 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.1454, allocations: 0.7416 MB / 311.8 MB, free: 13.87 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1454, allocations: 0 / 311.8 MB, free: 13.87 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1454, allocations: 1.094 kB / 311.8 MB, free: 13.87 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.031e-05/0.1455, allocations: 3.938 kB / 311.8 MB, free: 13.87 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001338/0.1468, allocations: 1.06 MB / 312.8 MB, free: 13.14 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1468, allocations: 8.594 kB / 312.8 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/0.1471, allocations: 139.2 kB / 313 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000689/0.1477, allocations: 465.9 kB / 313.4 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.246e-05/0.1478, allocations: 75.5 kB / 313.5 MB, free: 12.78 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.1479, allocations: 92.52 kB / 313.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009027/0.1488, allocations: 0.6784 MB / 314.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.943e-05/0.1488, allocations: 12.67 kB / 314.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.663e-05/0.1489, allocations: 42.7 kB / 314.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.1489, allocations: 25.94 kB / 314.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004741/0.1494, allocations: 240.5 kB / 314.6 MB, free: 12.31 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/0.1517, allocations: 2.86 MB / 317.4 MB, free: 10.01 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/0.152, allocations: 154.9 kB / 317.6 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.439e-05/0.1521, allocations: 44.69 kB / 317.6 MB, free: 9.918 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.568e-05/0.1522, allocations: 18.89 kB / 317.6 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.1522, allocations: 39.72 kB / 317.7 MB, free: 9.871 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 2.485e-06/0.1522, allocations: 0 / 317.7 MB, free: 9.871 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.001447/0.1536, allocations: 0.8123 MB / 318.5 MB, free: 9.355 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.1537, allocations: 60.08 kB / 318.6 MB, free: 9.289 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.1539, allocations: 378.2 kB / 318.9 MB, free: 9.039 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.1539, allocations: 31.3 kB / 319 MB, free: 9.004 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.1541, allocations: 437.5 kB / 319.4 MB, free: 8.625 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.469e-05/0.1542, allocations: 146.8 kB / 319.5 MB, free: 8.496 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.621e-05/0.1543, allocations: 103.4 kB / 319.6 MB, free: 8.426 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.012e-05/0.1543, allocations: 363 kB / 320 MB, free: 8.074 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.027e-05/0.1544, allocations: 45.34 kB / 320 MB, free: 8.066 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.1545, allocations: 247.3 kB / 320.3 MB, free: 7.801 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003027/0.1548, allocations: 343.5 kB / 320.6 MB, free: 7.492 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1548, allocations: 1.094 kB / 320.6 MB, free: 7.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004322/0.1553, allocations: 332.9 kB / 320.9 MB, free: 7.336 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.1553, allocations: 8.656 kB / 320.9 MB, free: 7.336 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.1553, allocations: 5.688 kB / 320.9 MB, free: 7.336 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001511/0.1555, allocations: 34.78 kB / 321 MB, free: 7.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/0.1558, allocations: 136.4 kB / 321.1 MB, free: 7.293 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002102/0.156, allocations: 0.5486 MB / 321.7 MB, free: 6.746 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.1562, allocations: 16 kB / 321.7 MB, free: 6.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.1562, allocations: 20 kB / 321.7 MB, free: 6.734 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001709/0.1564, allocations: 146.9 kB / 321.8 MB, free: 6.59 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/0.1565, allocations: 42.56 kB / 321.9 MB, free: 6.574 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.1568, allocations: 217.2 kB / 322.1 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1568, allocations: 3.281 kB / 322.1 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.1568, allocations: 0.625 kB / 322.1 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1568, allocations: 0 / 322.1 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007799/0.1576, allocations: 0.5971 MB / 322.7 MB, free: 5.977 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1576, allocations: 3.5 kB / 322.7 MB, free: 5.977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.1578, allocations: 99.92 kB / 322.8 MB, free: 5.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/0.1579, allocations: 25.5 kB / 322.8 MB, free: 5.852 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.158, allocations: 11.98 kB / 322.8 MB, free: 5.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001349/0.1581, allocations: 0.5328 MB / 323.4 MB, free: 5.281 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1581, allocations: 3.938 kB / 323.4 MB, free: 5.277 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.1584, allocations: 384.8 kB / 323.7 MB, free: 4.871 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.1584, allocations: 43.67 kB / 323.8 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.1585, allocations: 12.03 kB / 323.8 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.1586, allocations: 8 kB / 323.8 MB, free: 4.809 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.1586, allocations: 23.95 kB / 323.8 MB, free: 4.785 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.1586, allocations: 11.98 kB / 323.8 MB, free: 4.773 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.1588, allocations: 156.7 kB / 324 MB, free: 4.617 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1588, allocations: 0 / 324 MB, free: 4.617 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004537/0.1592, allocations: 120 kB / 324.1 MB, free: 4.5 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001394/0.1593, allocations: 108.2 kB / 324.2 MB, free: 4.387 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000313/0.1597, allocations: 217.9 kB / 324.4 MB, free: 4.172 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/0.1597, allocations: 9.688 kB / 324.4 MB, free: 4.164 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.1598, allocations: 104.6 kB / 324.5 MB, free: 4.059 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.1602, allocations: 88.48 kB / 324.6 MB, free: 3.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.1618, allocations: 1.276 MB / 325.9 MB, free: 2.652 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.274e-05/0.1619, allocations: 161.7 kB / 326.1 MB, free: 2.473 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000142/0.1621, allocations: 57.05 kB / 326.1 MB, free: 2.418 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.1622, allocations: 139.3 kB / 326.3 MB, free: 2.281 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1622, allocations: 0 / 326.3 MB, free: 2.281 MB / 282.7 MB Notification: Performance of Templates: time 0.009101/0.1713, allocations: 4.472 MB / 330.7 MB, free: 13.9 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.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: 2.9842615639790893]