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.001152/0.001152, allocations: 108.2 kB / 17.15 MB, free: 6.328 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.001335/0.001335, allocations: 198 kB / 18.07 MB, free: 5.434 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.661/1.661, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001357/0.001357, allocations: 52.25 kB / 279.9 MB, free: 3.613 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1209, allocations: 46.64 MB / 326.6 MB, free: 4.906 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003339/0.1243, allocations: 1.549 MB / 328.1 MB, free: 3.336 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.1254, allocations: 0.5471 MB / 328.7 MB, free: 2.781 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.626e-05/0.1255, allocations: 0 / 328.7 MB, free: 2.781 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.1257, allocations: 11.94 kB / 328.7 MB, free: 2.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.424e-05/0.1258, allocations: 7.922 kB / 328.7 MB, free: 2.762 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.126, allocations: 35.97 kB / 328.7 MB, free: 2.727 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.1261, allocations: 47.86 kB / 328.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.1263, allocations: 19.98 kB / 328.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.1264, allocations: 27.91 kB / 328.8 MB, free: 2.633 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.676e-05/0.1265, allocations: 31.84 kB / 328.9 MB, free: 2.602 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.1266, allocations: 4 kB / 328.9 MB, free: 2.598 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.839e-05/0.1266, allocations: 12 kB / 328.9 MB, free: 2.586 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.1267, allocations: 19.86 kB / 328.9 MB, free: 2.566 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.603e-05/0.1267, allocations: 23.86 kB / 328.9 MB, free: 2.543 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.1269, allocations: 55.86 kB / 329 MB, free: 2.488 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1269, allocations: 0 / 329 MB, free: 2.488 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.1269, allocations: 7.984 kB / 329 MB, free: 2.48 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1269, allocations: 0 / 329 MB, free: 2.48 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.0007717/0.1277, allocations: 387.5 kB / 329.4 MB, free: 2.055 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1278, allocations: 8.031 kB / 329.4 MB, free: 2.047 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.1278, allocations: 8.844 kB / 329.4 MB, free: 2.039 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.128, allocations: 176.3 kB / 329.6 MB, free: 1.828 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.128, allocations: 4.312 kB / 329.6 MB, free: 1.824 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.128, allocations: 8.375 kB / 329.6 MB, free: 1.816 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.1283, allocations: 85.95 kB / 329.6 MB, free: 1.727 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1283, allocations: 3.938 kB / 329.7 MB, free: 1.723 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.1284, allocations: 4 kB / 329.7 MB, free: 1.719 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.1284, allocations: 4 kB / 329.7 MB, free: 1.715 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.1287, allocations: 83.91 kB / 329.7 MB, free: 1.633 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.1292, allocations: 308.6 kB / 330 MB, free: 1.281 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.1295, allocations: 74.53 kB / 330.1 MB, free: 1.199 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.1297, allocations: 44.94 kB / 330.2 MB, free: 1.152 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.1297, allocations: 0 / 330.2 MB, free: 1.152 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.1297, allocations: 42.59 kB / 330.2 MB, free: 1.102 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 7.32e-07/0.1297, allocations: 0 / 330.2 MB, free: 1.102 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005821/0.1303, allocations: 149.5 kB / 330.3 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.1304, allocations: 55.41 kB / 330.4 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.078e-05/0.1305, allocations: 105.8 kB / 330.5 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.1305, allocations: 29.7 kB / 330.5 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.1305, allocations: 88.14 kB / 330.6 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.1306, allocations: 15.8 kB / 330.6 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.1306, allocations: 17.72 kB / 330.7 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1307, allocations: 322.8 kB / 331 MB, free: 288 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.1309, allocations: 35.97 kB / 331 MB, free: 252 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.131, allocations: 40.27 kB / 331 MB, free: 212 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.1314, allocations: 84.8 kB / 331.1 MB, free: 124 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1314, allocations: 0 / 331.1 MB, free: 124 kB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003337/0.1317, allocations: 117.5 kB / 331.2 MB, free: 0 / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.1317, allocations: 4.047 kB / 331.2 MB, free: 15.99 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1317, allocations: 0 / 331.2 MB, free: 15.99 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1318, allocations: 0 / 331.2 MB, free: 15.99 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.1319, allocations: 19.94 kB / 331.3 MB, free: 15.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1319, allocations: 4 kB / 331.3 MB, free: 15.97 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.318e-05/0.132, allocations: 23.84 kB / 331.3 MB, free: 15.95 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.132, allocations: 3.938 kB / 331.3 MB, free: 15.95 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 9.34e-05/0.1321, allocations: 117.8 kB / 331.4 MB, free: 15.82 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.1322, allocations: 4.281 kB / 331.4 MB, free: 15.82 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004134/0.1326, allocations: 137.5 kB / 331.5 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1326, allocations: 0 / 331.5 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1326, allocations: 0 / 331.5 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1326, allocations: 3.938 kB / 331.6 MB, free: 15.67 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.1329, allocations: 185.6 kB / 331.7 MB, free: 15.44 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1329, allocations: 0 / 331.7 MB, free: 15.44 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.133, allocations: 27.91 kB / 331.8 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.133, allocations: 0 / 331.8 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.133, allocations: 4 kB / 331.8 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.133, allocations: 4 kB / 331.8 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.133, allocations: 4 kB / 331.8 MB, free: 15.4 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/0.1334, allocations: 215.3 kB / 332 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.983e-05/0.1335, allocations: 81.11 kB / 332.1 MB, free: 15.08 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.1335, allocations: 7.984 kB / 332.1 MB, free: 15.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.1336, allocations: 16.05 kB / 332.1 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.1337, allocations: 7.984 kB / 332.1 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.1337, allocations: 4 kB / 332.1 MB, free: 15.04 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.433e-05/0.1337, allocations: 87.27 kB / 332.2 MB, free: 14.96 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1337, allocations: 0 / 332.2 MB, free: 14.96 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002183/0.134, allocations: 19.84 kB / 332.2 MB, free: 14.94 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.0001491/0.1341, allocations: 107.2 kB / 332.3 MB, free: 14.82 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003401/0.1345, allocations: 83.92 kB / 332.4 MB, free: 14.74 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1345, allocations: 0 / 332.4 MB, free: 14.74 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.1346, allocations: 51.89 kB / 332.4 MB, free: 14.69 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.135, allocations: 12 kB / 332.4 MB, free: 14.68 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.1353, allocations: 187.7 kB / 332.6 MB, free: 14.47 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.1356, allocations: 0.6887 MB / 333.3 MB, free: 13.76 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.354e-05/0.1356, allocations: 8 kB / 333.3 MB, free: 13.75 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.1357, allocations: 7.438 kB / 333.3 MB, free: 13.74 MB / 286.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1357, allocations: 0 / 333.3 MB, free: 13.74 MB / 286.1 MB Notification: Performance of Templates: time 0.002931/0.1386, allocations: 0.7691 MB / 334.1 MB, free: 12.98 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches