Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009762/0.0009762, allocations: 95.27 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009976/0.0009977, allocations: 208.5 kB / 17.9 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002256/0.0002257, allocations: 11.98 kB / 306.6 MB, free: 1.664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1197, allocations: 51.49 MB / 358 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002094/0.1219, allocations: 1.219 MB / 359.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008159/0.1227, allocations: 499.1 kB / 359.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.321e-05/0.1228, allocations: 3.938 kB / 359.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.859e-05/0.1229, allocations: 11.94 kB / 359.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.32e-05/0.1229, allocations: 7.969 kB / 359.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.1231, allocations: 31.86 kB / 359.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.53e-05/0.1232, allocations: 39.95 kB / 359.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.1233, allocations: 19.97 kB / 359.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.1235, allocations: 19.92 kB / 359.9 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.435e-05/0.1236, allocations: 31.83 kB / 359.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.1236, allocations: 4 kB / 359.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.525e-05/0.1237, allocations: 8 kB / 359.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.1237, allocations: 8 kB / 359.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.1237, allocations: 33.64 kB / 360 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.1239, allocations: 43.91 kB / 360 MB, free: 12.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1239, allocations: 0 / 360 MB, free: 12.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1239, allocations: 7.938 kB / 360 MB, free: 12.17 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1239, allocations: 0 / 360 MB, free: 12.17 MB / 302.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.0007828/0.1247, allocations: 383.4 kB / 360.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.1247, allocations: 8.031 kB / 360.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.1248, allocations: 8 kB / 360.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.125, allocations: 174.9 kB / 360.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.125, allocations: 0 / 360.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.125, allocations: 11.95 kB / 360.6 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.1253, allocations: 93.58 kB / 360.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1253, allocations: 4 kB / 360.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.1253, allocations: 3.984 kB / 360.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1254, allocations: 4 kB / 360.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003441/0.1257, allocations: 99.91 kB / 360.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.1262, allocations: 308.7 kB / 361.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.1265, allocations: 86.53 kB / 361.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.1265, allocations: 0 / 361.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.1265, allocations: 30.56 kB / 361.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1266, allocations: 0 / 361.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006031/0.1272, allocations: 189.7 kB / 361.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.1272, allocations: 51.41 kB / 361.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.881e-05/0.1273, allocations: 113.8 kB / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.1273, allocations: 25.7 kB / 361.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.1274, allocations: 95.98 kB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.1274, allocations: 19.78 kB / 361.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.1274, allocations: 8 kB / 361.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1276, allocations: 314.8 kB / 362 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.1277, allocations: 47.95 kB / 362.1 MB, free: 9.926 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.1279, allocations: 47.97 kB / 362.1 MB, free: 9.879 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.1281, allocations: 47.95 kB / 362.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1281, allocations: 4 kB / 362.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003543/0.1284, allocations: 137.9 kB / 362.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1284, allocations: 4 kB / 362.3 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1285, allocations: 0 / 362.3 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1285, allocations: 0 / 362.3 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.1286, allocations: 35.97 kB / 362.3 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1286, allocations: 0 / 362.3 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.915e-05/0.1287, allocations: 23.89 kB / 362.4 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.1287, allocations: 0 / 362.4 MB, free: 9.625 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.03e-05/0.1288, allocations: 121.7 kB / 362.5 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.1289, allocations: 4 kB / 362.5 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000414/0.1293, allocations: 153.5 kB / 362.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.1293, allocations: 0 / 362.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1293, allocations: 0 / 362.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1293, allocations: 4 kB / 362.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.1295, allocations: 189.5 kB / 362.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1295, allocations: 3.984 kB / 362.8 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.1296, allocations: 23.98 kB / 362.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1297, allocations: 0 / 362.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1297, allocations: 8 kB / 362.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1297, allocations: 0 / 362.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1297, allocations: 384 / 362.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004342/0.1301, allocations: 251.3 kB / 363.1 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.1302, allocations: 85.02 kB / 363.2 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.1302, allocations: 0 / 363.2 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.1303, allocations: 23.92 kB / 363.2 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.1304, allocations: 7.984 kB / 363.2 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.1304, allocations: 0 / 363.2 MB, free: 8.664 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.465e-05/0.1304, allocations: 91.27 kB / 363.3 MB, free: 8.574 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1305, allocations: 4 kB / 363.3 MB, free: 8.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.1307, allocations: 8 kB / 363.3 MB, free: 8.562 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001534/0.1308, allocations: 99.25 kB / 363.4 MB, free: 8.457 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003739/0.1312, allocations: 111.8 kB / 363.5 MB, free: 8.348 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1312, allocations: 0 / 363.5 MB, free: 8.348 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.1314, allocations: 64.11 kB / 363.6 MB, free: 8.285 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.1316, allocations: 7.953 kB / 363.6 MB, free: 8.277 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.132, allocations: 186.5 kB / 363.8 MB, free: 8.066 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.1323, allocations: 0.6926 MB / 364.5 MB, free: 7.348 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.655e-05/0.1323, allocations: 3.984 kB / 364.5 MB, free: 7.344 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.1323, allocations: 15.38 kB / 364.5 MB, free: 7.328 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1324, allocations: 0 / 364.5 MB, free: 7.328 MB / 302.1 MB Notification: Performance of Templates: time 0.002959/0.1353, allocations: 0.7417 MB / 365.2 MB, free: 6.594 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches