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.001065/0.001065, allocations: 96.31 kB / 17 MB, free: 6.129 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.001323/0.001323, allocations: 179.2 kB / 17.89 MB, free: 5.707 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.547/1.547, allocations: 223.3 MB / 241.9 MB, free: 14.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2077/0.2077, allocations: 44.25 MB / 337.3 MB, free: 2.559 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003316, allocations: 8 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1276, allocations: 61.94 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.005308/0.1329, allocations: 4.945 MB / 476.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003617/0.1365, allocations: 2.131 MB / 478.7 MB, free: 6.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007835/0.1374, allocations: 35.75 kB / 478.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003896/0.1378, allocations: 158.7 kB / 478.9 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000367/0.1381, allocations: 146.8 kB / 479 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008752/0.139, allocations: 307.3 kB / 479.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001061/0.1401, allocations: 0.9735 MB / 480.3 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006103/0.1407, allocations: 433.9 kB / 480.7 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003321/0.1411, allocations: 250.8 kB / 480.9 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003146/0.1414, allocations: 290.4 kB / 481.2 MB, free: 4.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.217e-05/0.1415, allocations: 32 kB / 481.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.1417, allocations: 83.91 kB / 481.3 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.1418, allocations: 139.4 kB / 481.5 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.142, allocations: 189.2 kB / 481.7 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008603/0.1428, allocations: 0.9273 MB / 482.6 MB, free: 2.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1429, allocations: 4 kB / 482.6 MB, free: 2.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1429, allocations: 0 / 482.6 MB, free: 2.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.1429, allocations: 0 / 482.6 MB, free: 2.633 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.001351/0.1442, allocations: 0.9611 MB / 483.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1443, allocations: 16.02 kB / 483.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.1444, allocations: 102.7 kB / 483.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007107/0.1452, allocations: 0.5433 MB / 484.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-05/0.1452, allocations: 69.95 kB / 484.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.1454, allocations: 99.91 kB / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.147, allocations: 0.8853 MB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.793e-05/0.147, allocations: 7.844 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.667e-05/0.1471, allocations: 44 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-05/0.1472, allocations: 20 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.1482, allocations: 0.5229 MB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004208/0.1524, allocations: 3.639 MB / 489.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005901/0.153, allocations: 219.3 kB / 489.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.1532, allocations: 104.8 kB / 489.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003075/0.1535, allocations: 259.2 kB / 490.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.1536, allocations: 38.5 kB / 490.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.034e-06/0.1536, allocations: 4 kB / 490.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002429/0.156, allocations: 1.299 MB / 491.4 MB, free: 9.328 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.1561, allocations: 55.41 kB / 491.5 MB, free: 9.262 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004351/0.1565, allocations: 397.8 kB / 491.9 MB, free: 8.859 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.1566, allocations: 33.7 kB / 491.9 MB, free: 8.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000314/0.1569, allocations: 462.1 kB / 492.3 MB, free: 8.359 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.157, allocations: 138 kB / 492.5 MB, free: 8.223 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-05/0.157, allocations: 12 kB / 492.5 MB, free: 8.211 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.1572, allocations: 366.7 kB / 492.8 MB, free: 7.844 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002213/0.1575, allocations: 117.1 kB / 493 MB, free: 7.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/0.1578, allocations: 302.2 kB / 493.2 MB, free: 7.348 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.1581, allocations: 168.7 kB / 493.4 MB, free: 7.184 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1581, allocations: 0 / 493.4 MB, free: 7.184 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007814/0.1589, allocations: 0.5128 MB / 493.9 MB, free: 6.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1589, allocations: 8 kB / 493.9 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.1589, allocations: 11.94 kB / 493.9 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001698/0.1591, allocations: 36.84 kB / 494 MB, free: 6.602 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003739/0.1595, allocations: 127.8 kB / 494.1 MB, free: 6.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004087/0.1599, allocations: 0.5644 MB / 494.7 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.1601, allocations: 16 kB / 494.7 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/0.1602, allocations: 24 kB / 494.7 MB, free: 5.848 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.0003014/0.1605, allocations: 234.1 kB / 494.9 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.174e-05/0.1606, allocations: 43.44 kB / 495 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005997/0.1612, allocations: 339.3 kB / 495.3 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.1612, allocations: 4 kB / 495.3 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1612, allocations: 0 / 495.3 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1612, allocations: 3.984 kB / 495.3 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.1626, allocations: 1.054 MB / 496.4 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.1626, allocations: 7.938 kB / 496.4 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003495/0.163, allocations: 79.95 kB / 496.5 MB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/0.1631, allocations: 36.94 kB / 496.5 MB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.1632, allocations: 15.94 kB / 496.5 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003417/0.1635, allocations: 0.5484 MB / 497.1 MB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1635, allocations: 4.031 kB / 497.1 MB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007763/0.1643, allocations: 0.5593 MB / 497.6 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.711e-05/0.1644, allocations: 116.5 kB / 497.7 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.814e-05/0.1645, allocations: 12 kB / 497.7 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.1646, allocations: 15.95 kB / 497.8 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.1647, allocations: 24 kB / 497.8 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.1647, allocations: 15.98 kB / 497.8 MB, free: 2.574 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002651/0.165, allocations: 263.2 kB / 498.1 MB, free: 2.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.165, allocations: 0 / 498.1 MB, free: 2.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005298/0.1655, allocations: 132 kB / 498.2 MB, free: 2.191 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.000165/0.1657, allocations: 121.4 kB / 498.3 MB, free: 2.066 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006742/0.1664, allocations: 333.5 kB / 498.6 MB, free: 1.742 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1664, allocations: 3.938 kB / 498.6 MB, free: 1.738 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.1667, allocations: 141 kB / 498.8 MB, free: 1.602 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005224/0.1672, allocations: 66.38 kB / 498.8 MB, free: 1.539 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.17, allocations: 2.063 MB / 0.4892 GB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/0.1706, allocations: 0.9561 MB / 0.4901 GB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001937/0.1708, allocations: 64.47 kB / 0.4902 GB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.315e-05/0.1709, allocations: 39.42 kB / 0.4902 GB, free: 14.33 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1709, allocations: 0 / 0.4902 GB, free: 14.33 MB / 382.1 MB Notification: Performance of Templates: time 0.009403/0.1803, allocations: 3.832 MB / 0.4939 GB, free: 10.52 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches