Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 99.36 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 178.3 kB / 17.88 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.2 MB / 241.8 MB, free: 384 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1897/0.1897, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.000338, allocations: 13.03 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1186, allocations: 61.92 MB / 471.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.006394/0.125, allocations: 4.685 MB / 476.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004042/0.1291, allocations: 2.179 MB / 478.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.1304, allocations: 35.75 kB / 478.3 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009115/0.1314, allocations: 166.8 kB / 478.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.1329, allocations: 318.9 kB / 478.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.1343, allocations: 403.2 kB / 479.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001531/0.1359, allocations: 0.7332 MB / 479.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008708/0.1367, allocations: 425.9 kB / 480.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005076/0.1373, allocations: 254.8 kB / 480.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004717/0.1378, allocations: 286.4 kB / 480.9 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.793e-05/0.1379, allocations: 36 kB / 480.9 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002919/0.1382, allocations: 75.91 kB / 481 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.1383, allocations: 127.4 kB / 481.1 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.1385, allocations: 197.1 kB / 481.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00087/0.1394, allocations: 0.9235 MB / 482.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1394, allocations: 0 / 482.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1394, allocations: 0 / 482.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.181e-05/0.1395, allocations: 0 / 482.2 MB, free: 2.918 MB / 350.1 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.001649/0.1411, allocations: 0.9706 MB / 483.2 MB, free: 1.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.1412, allocations: 8.031 kB / 483.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.1414, allocations: 98.78 kB / 483.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008567/0.1422, allocations: 0.5433 MB / 483.9 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.033e-05/0.1423, allocations: 73.95 kB / 483.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.1424, allocations: 91.91 kB / 484 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.144, allocations: 0.8813 MB / 484.9 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.048e-05/0.144, allocations: 7.906 kB / 484.9 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.229e-05/0.1441, allocations: 39.94 kB / 484.9 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.1441, allocations: 24 kB / 485 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.1452, allocations: 0.527 MB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003904/0.1491, allocations: 3.643 MB / 489.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005423/0.1496, allocations: 219.3 kB / 489.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002568/0.1499, allocations: 247.3 kB / 489.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.15, allocations: 42.5 kB / 489.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.725e-06/0.15, allocations: 0 / 489.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002369/0.1523, allocations: 1.311 MB / 491 MB, free: 9.719 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.1524, allocations: 55.41 kB / 491 MB, free: 9.652 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004079/0.1528, allocations: 401.8 kB / 491.4 MB, free: 9.246 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1528, allocations: 29.7 kB / 491.4 MB, free: 9.211 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.1531, allocations: 474.1 kB / 491.9 MB, free: 8.738 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.528e-05/0.1532, allocations: 138 kB / 492 MB, free: 8.602 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.752e-05/0.1532, allocations: 12 kB / 492 MB, free: 8.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1534, allocations: 366.7 kB / 492.4 MB, free: 8.223 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.1536, allocations: 113.1 kB / 492.5 MB, free: 8.113 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.154, allocations: 306.2 kB / 492.8 MB, free: 7.727 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.1543, allocations: 164.7 kB / 493 MB, free: 7.566 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1543, allocations: 0 / 493 MB, free: 7.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008701/0.1552, allocations: 0.5131 MB / 493.5 MB, free: 7.043 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.1552, allocations: 12.16 kB / 493.5 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.1552, allocations: 4 kB / 493.5 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002259/0.1555, allocations: 36.84 kB / 493.5 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.1559, allocations: 127.8 kB / 493.7 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005067/0.1564, allocations: 0.5601 MB / 494.2 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.1566, allocations: 16 kB / 494.2 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/0.1567, allocations: 32.06 kB / 494.3 MB, free: 6.23 MB / 366.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004043/0.1571, allocations: 226.2 kB / 494.5 MB, free: 6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-05/0.1572, allocations: 47.44 kB / 494.5 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006376/0.1578, allocations: 335.2 kB / 494.9 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.1579, allocations: 7.953 kB / 494.9 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1579, allocations: 0 / 494.9 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.1579, allocations: 0 / 494.9 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.1595, allocations: 1.065 MB / 495.9 MB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1595, allocations: 0 / 495.9 MB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.1599, allocations: 79.91 kB / 496 MB, free: 4.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001463/0.16, allocations: 32.83 kB / 496 MB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.16, allocations: 8 kB / 496 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003429/0.1604, allocations: 0.5525 MB / 496.6 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.1604, allocations: 7.984 kB / 496.6 MB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008048/0.1612, allocations: 0.6185 MB / 497.2 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.256e-05/0.1613, allocations: 120.5 kB / 497.3 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.505e-05/0.1614, allocations: 8 kB / 497.3 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.1615, allocations: 8 kB / 497.4 MB, free: 2.922 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.947e-05/0.1616, allocations: 35.89 kB / 497.4 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.1616, allocations: 15.98 kB / 497.4 MB, free: 2.871 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002675/0.1619, allocations: 263.2 kB / 497.7 MB, free: 2.617 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1619, allocations: 0 / 497.7 MB, free: 2.617 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005849/0.1625, allocations: 128 kB / 497.8 MB, free: 2.492 MB / 366.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001958/0.1627, allocations: 119.2 kB / 497.9 MB, free: 2.367 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006488/0.1634, allocations: 329.5 kB / 498.2 MB, free: 2.047 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1634, allocations: 0 / 498.2 MB, free: 2.047 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.1636, allocations: 137.1 kB / 498.4 MB, free: 1.914 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.1641, allocations: 68.55 kB / 498.4 MB, free: 1.852 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/0.167, allocations: 2.058 MB / 0.4888 GB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005949/0.1677, allocations: 0.9833 MB / 0.4897 GB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001985/0.1679, allocations: 64.47 kB / 0.4898 GB, free: 14.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.358e-05/0.1679, allocations: 39.44 kB / 0.4898 GB, free: 14.63 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.168, allocations: 0 / 0.4898 GB, free: 14.63 MB / 382.1 MB Notification: Performance of Templates: time 0.009469/0.1774, allocations: 3.818 MB / 0.4935 GB, free: 10.83 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches