Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.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 3.2.3+maint.om/package.mo", uses=false) 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.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(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001175, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001134/0.001134, allocations: 186.9 kB / 19.28 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 47.92 kB / 282.1 MB, free: 2.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1173, allocations: 46.63 MB / 328.7 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003078/0.1204, allocations: 1.499 MB / 330.2 MB, free: 2.25 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1214, allocations: 0.5431 MB / 330.7 MB, free: 1.699 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.327e-05/0.1215, allocations: 0 / 330.7 MB, free: 1.699 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.1217, allocations: 23.86 kB / 330.8 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.246e-05/0.1218, allocations: 3.938 kB / 330.8 MB, free: 1.672 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.122, allocations: 35.91 kB / 330.8 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.1221, allocations: 59.83 kB / 330.9 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.1222, allocations: 23.97 kB / 330.9 MB, free: 1.555 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.1224, allocations: 27.92 kB / 330.9 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.322e-05/0.1225, allocations: 35.84 kB / 331 MB, free: 1.492 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.1225, allocations: 7.938 kB / 331 MB, free: 1.484 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.906e-05/0.1226, allocations: 16 kB / 331 MB, free: 1.469 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.1226, allocations: 19.91 kB / 331 MB, free: 1.449 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.646e-05/0.1227, allocations: 19.88 kB / 331 MB, free: 1.43 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.1228, allocations: 71.78 kB / 331.1 MB, free: 1.359 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1228, allocations: 0 / 331.1 MB, free: 1.359 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.1229, allocations: 0 / 331.1 MB, free: 1.359 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.1229, allocations: 0 / 331.1 MB, free: 1.359 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006842/0.1236, allocations: 387.2 kB / 331.5 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1236, allocations: 8.031 kB / 331.5 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.1236, allocations: 8.844 kB / 331.5 MB, free: 0.918 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.1238, allocations: 172.3 kB / 331.6 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.1238, allocations: 4.375 kB / 331.7 MB, free: 0.707 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.1238, allocations: 4.375 kB / 331.7 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.1241, allocations: 97.83 kB / 331.8 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1241, allocations: 0 / 331.8 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1242, allocations: 0 / 331.8 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1242, allocations: 4 kB / 331.8 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.1245, allocations: 75.91 kB / 331.8 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/0.125, allocations: 316.6 kB / 332.1 MB, free: 168 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.1252, allocations: 70.53 kB / 332.2 MB, free: 88 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.1254, allocations: 48.95 kB / 332.3 MB, free: 36 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.1254, allocations: 0 / 332.3 MB, free: 36 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.442e-05/0.1254, allocations: 38.59 kB / 332.3 MB, free: 15.98 MB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.1255, allocations: 0 / 332.3 MB, free: 15.98 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005321/0.126, allocations: 153.5 kB / 332.4 MB, free: 15.83 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.126, allocations: 51.41 kB / 332.5 MB, free: 15.77 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.053e-05/0.1261, allocations: 113.8 kB / 332.6 MB, free: 15.64 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.1261, allocations: 29.7 kB / 332.6 MB, free: 15.61 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.1262, allocations: 88.14 kB / 332.7 MB, free: 15.52 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.1262, allocations: 15.8 kB / 332.7 MB, free: 15.5 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.479e-05/0.1263, allocations: 17.7 kB / 332.8 MB, free: 15.48 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1264, allocations: 322.8 kB / 333.1 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.1265, allocations: 39.89 kB / 333.1 MB, free: 15.12 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.1267, allocations: 39.97 kB / 333.1 MB, free: 15.08 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.1269, allocations: 80.78 kB / 333.2 MB, free: 15 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1269, allocations: 0 / 333.2 MB, free: 15 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002988/0.1273, allocations: 117.5 kB / 333.3 MB, free: 14.88 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1273, allocations: 7.984 kB / 333.3 MB, free: 14.87 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1273, allocations: 0 / 333.3 MB, free: 14.87 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1273, allocations: 0 / 333.3 MB, free: 14.87 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.1274, allocations: 15.98 kB / 333.4 MB, free: 14.85 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1274, allocations: 0 / 333.4 MB, free: 14.85 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.591e-05/0.1275, allocations: 19.92 kB / 333.4 MB, free: 14.83 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1275, allocations: 4 kB / 333.4 MB, free: 14.83 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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 8.712e-05/0.1276, allocations: 122.1 kB / 333.5 MB, free: 14.7 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.1277, allocations: 7.906 kB / 333.5 MB, free: 14.69 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003657/0.128, allocations: 129.5 kB / 333.6 MB, free: 14.56 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1281, allocations: 0 / 333.6 MB, free: 14.56 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1281, allocations: 3.938 kB / 333.6 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1281, allocations: 0 / 333.6 MB, free: 14.55 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.1283, allocations: 194 kB / 333.8 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1283, allocations: 0 / 333.8 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.1284, allocations: 23.98 kB / 333.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1284, allocations: 3.938 kB / 333.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.1284, allocations: 0 / 333.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1284, allocations: 80 / 333.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1284, allocations: 7.969 kB / 333.9 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.1288, allocations: 231.2 kB / 334.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.095e-05/0.1289, allocations: 77.11 kB / 334.2 MB, free: 13.95 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.1289, allocations: 3.984 kB / 334.2 MB, free: 13.95 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.129, allocations: 11.98 kB / 334.2 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.129, allocations: 8 kB / 334.2 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.1291, allocations: 0 / 334.2 MB, free: 13.93 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.833e-05/0.1291, allocations: 95.27 kB / 334.3 MB, free: 13.83 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1291, allocations: 0 / 334.3 MB, free: 13.83 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002266/0.1294, allocations: 15.84 kB / 334.3 MB, free: 13.82 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * 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.0001353/0.1295, allocations: 99.23 kB / 334.4 MB, free: 13.71 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003427/0.1299, allocations: 95.84 kB / 334.5 MB, free: 13.62 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1299, allocations: 3.938 kB / 334.5 MB, free: 13.61 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.13, allocations: 47.95 kB / 334.5 MB, free: 13.57 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.1304, allocations: 8 kB / 334.5 MB, free: 13.56 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003874/0.1307, allocations: 154.1 kB / 334.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.1311, allocations: 0.6924 MB / 335.4 MB, free: 12.66 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.326e-05/0.1312, allocations: 4 kB / 335.4 MB, free: 12.66 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.285e-05/0.1312, allocations: 15.38 kB / 335.4 MB, free: 12.64 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1312, allocations: 0 / 335.4 MB, free: 12.64 MB / 286.1 MB Notification: Performance of Templates: time 0.003454/0.1347, allocations: 0.9109 MB / 336.3 MB, free: 11.74 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches