Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009374/0.0009376, allocations: 183.7 kB / 16.08 MB, free: 5.531 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.6 MB / 222.4 MB, free: 13.68 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000905/0.0009051, allocations: 102.2 kB / 270.8 MB, free: 13.19 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2297/0.2297, allocations: 43.69 MB / 362.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003148, allocations: 8 kB / 432.3 MB, free: 19.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1228, allocations: 58.86 MB / 491.2 MB, free: 8.137 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.005914/0.1287, allocations: 4.984 MB / 496.1 MB, free: 3.121 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004989/0.1338, allocations: 4.454 MB / 0.4889 GB, free: 14.11 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008113/0.1346, allocations: 43.75 kB / 0.4889 GB, free: 14.06 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004293/0.135, allocations: 178.6 kB / 0.4891 GB, free: 13.89 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000376/0.1354, allocations: 146.8 kB / 0.4892 GB, free: 13.74 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008999/0.1363, allocations: 391.4 kB / 0.4896 GB, free: 13.36 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.1374, allocations: 1.059 MB / 0.4906 GB, free: 12.3 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007511/0.1381, allocations: 0.5403 MB / 0.4912 GB, free: 11.73 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003242/0.1385, allocations: 270.6 kB / 0.4914 GB, free: 11.47 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003288/0.1388, allocations: 298.1 kB / 0.4917 GB, free: 11.18 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.375e-05/0.1389, allocations: 32 kB / 0.4917 GB, free: 11.14 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.1391, allocations: 87.92 kB / 0.4918 GB, free: 11.06 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.1392, allocations: 139.3 kB / 0.4919 GB, free: 10.92 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003476/0.1396, allocations: 411.4 kB / 0.4923 GB, free: 10.51 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009898/0.1406, allocations: 1.128 MB / 0.4934 GB, free: 9.379 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1406, allocations: 0 / 0.4934 GB, free: 9.379 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1406, allocations: 0 / 0.4934 GB, free: 9.379 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1406, allocations: 0 / 0.4934 GB, free: 9.379 MB / 346.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.142, allocations: 0.9669 MB / 0.4944 GB, free: 8.359 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.791e-05/0.1421, allocations: 8.031 kB / 0.4944 GB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.1422, allocations: 99.72 kB / 0.4945 GB, free: 8.254 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007553/0.143, allocations: 0.5631 MB / 0.495 GB, free: 7.648 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.218e-05/0.143, allocations: 70 kB / 0.4951 GB, free: 7.582 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.1432, allocations: 95.89 kB / 0.4952 GB, free: 7.488 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.1446, allocations: 0.8814 MB / 0.4961 GB, free: 6.543 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.116e-05/0.1447, allocations: 7.984 kB / 0.4961 GB, free: 6.535 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-05/0.1447, allocations: 36 kB / 0.4961 GB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.1448, allocations: 24 kB / 0.4961 GB, free: 6.477 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009654/0.1457, allocations: 0.5268 MB / 0.4966 GB, free: 5.953 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003532/0.1493, allocations: 3.658 MB / 0.5002 GB, free: 2.137 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/0.1498, allocations: 220.1 kB / 0.5004 GB, free: 1.914 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.15, allocations: 104.8 kB / 0.5005 GB, free: 1.809 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/0.1503, allocations: 247.3 kB / 0.5008 GB, free: 1.512 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.1503, allocations: 35.06 kB / 0.5008 GB, free: 1.469 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 1.864e-06/0.1503, allocations: 0 / 0.5008 GB, free: 1.469 MB / 346.7 MB Notification: Performance of matching and sorting (n=35): time 0.002317/0.1527, allocations: 1.313 MB / 0.5021 GB, free: 60 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.1527, allocations: 59.34 kB / 0.5021 GB, free: 15.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/0.1532, allocations: 397.8 kB / 0.5025 GB, free: 15.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.1532, allocations: 29.7 kB / 0.5025 GB, free: 15.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.1535, allocations: 474.1 kB / 0.503 GB, free: 15.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.1536, allocations: 142 kB / 0.5031 GB, free: 14.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.919e-05/0.1536, allocations: 12 kB / 0.5031 GB, free: 14.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1538, allocations: 354.8 kB / 0.5035 GB, free: 14.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.154, allocations: 109.1 kB / 0.5036 GB, free: 14.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.1544, allocations: 314.2 kB / 0.5039 GB, free: 14.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005449/0.1549, allocations: 455.4 kB / 0.5043 GB, free: 13.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1549, allocations: 4 kB / 0.5043 GB, free: 13.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007171/0.1556, allocations: 0.5016 MB / 0.5048 GB, free: 13.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.1557, allocations: 8 kB / 0.5048 GB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.1557, allocations: 8 kB / 0.5048 GB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00018/0.1559, allocations: 41.62 kB / 0.5049 GB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.1563, allocations: 135.7 kB / 0.505 GB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003815/0.1567, allocations: 0.5601 MB / 0.5055 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.1569, allocations: 20 kB / 0.5056 GB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/0.1569, allocations: 24 kB / 0.5056 GB, free: 12.22 MB / 362.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.0003067/0.1572, allocations: 233.7 kB / 0.5058 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.118e-05/0.1573, allocations: 51.38 kB / 0.5058 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005865/0.1579, allocations: 335 kB / 0.5062 GB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.1579, allocations: 4 kB / 0.5062 GB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1579, allocations: 0 / 0.5062 GB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1579, allocations: 3.938 kB / 0.5062 GB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.1593, allocations: 1.065 MB / 0.5072 GB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1594, allocations: 0 / 0.5072 GB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003488/0.1597, allocations: 75.91 kB / 0.5073 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001211/0.1598, allocations: 40.77 kB / 0.5073 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.1599, allocations: 12 kB / 0.5073 GB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003201/0.1602, allocations: 0.5484 MB / 0.5079 GB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1602, allocations: 0 / 0.5079 GB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00076/0.161, allocations: 0.5683 MB / 0.5084 GB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.806e-05/0.1611, allocations: 116.5 kB / 0.5085 GB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.614e-05/0.1611, allocations: 12 kB / 0.5085 GB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.1613, allocations: 8 kB / 0.5086 GB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.1614, allocations: 23.91 kB / 0.5086 GB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.1614, allocations: 15.98 kB / 0.5086 GB, free: 8.938 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002692/0.1617, allocations: 267.2 kB / 0.5088 GB, free: 8.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1617, allocations: 7.938 kB / 0.5089 GB, free: 8.672 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004919/0.1622, allocations: 124 kB / 0.509 GB, free: 8.551 MB / 362.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.0001799/0.1624, allocations: 129.1 kB / 0.5091 GB, free: 8.418 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006139/0.163, allocations: 331.9 kB / 0.5094 GB, free: 8.094 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.163, allocations: 0 / 0.5094 GB, free: 8.094 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002567/0.1633, allocations: 149.1 kB / 0.5096 GB, free: 7.949 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000559/0.1638, allocations: 77.91 kB / 0.5096 GB, free: 7.871 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/0.1665, allocations: 2.141 MB / 0.5117 GB, free: 5.684 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/0.167, allocations: 0.9561 MB / 0.5127 GB, free: 4.699 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001861/0.1672, allocations: 60.48 kB / 0.5127 GB, free: 4.637 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.868e-05/0.1673, allocations: 47.36 kB / 0.5128 GB, free: 4.59 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1673, allocations: 0 / 0.5128 GB, free: 4.59 MB / 362.7 MB Notification: Performance of Templates: time 0.008885/0.1762, allocations: 3.913 MB / 0.5166 GB, free: 0.6836 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches