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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.0009691/0.0009691, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.199/1.199, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009445/0.0009445, allocations: 97.06 kB / 297.3 MB, free: 6.168 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002005/0.0002006, allocations: 4 kB / 357.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.1812, allocations: 51.48 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08648/0.2677, allocations: 77.46 MB / 486.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.2679, allocations: 61.7 kB / 486.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00389/0.2719, allocations: 1.413 MB / 488.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2719, allocations: 3.938 kB / 488.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.2719, allocations: 0 / 488.3 MB, free: 11.66 MB / 362.7 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.0004374/0.2723, allocations: 387.2 kB / 488.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.2724, allocations: 8.031 kB / 488.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.2724, allocations: 7.906 kB / 488.7 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.2726, allocations: 171.6 kB / 488.9 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.2726, allocations: 8 kB / 488.9 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.2726, allocations: 8 kB / 488.9 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.2729, allocations: 101.5 kB / 489 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2729, allocations: 0 / 489 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.2729, allocations: 0 / 489 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2729, allocations: 7.938 kB / 489 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.2732, allocations: 99.92 kB / 489.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.2736, allocations: 308.8 kB / 489.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.2739, allocations: 90.52 kB / 489.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.2739, allocations: 0 / 489.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.2739, allocations: 30.56 kB / 489.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.2739, allocations: 0 / 489.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005618/0.2745, allocations: 185.7 kB / 489.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.2746, allocations: 55.39 kB / 489.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.063e-05/0.2746, allocations: 101 kB / 489.9 MB, free: 9.938 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.2747, allocations: 29.7 kB / 489.9 MB, free: 9.902 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.2747, allocations: 95.97 kB / 490 MB, free: 9.805 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.2747, allocations: 11.81 kB / 490 MB, free: 9.793 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.2747, allocations: 0 / 490 MB, free: 9.793 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.463e-05/0.2748, allocations: 326.8 kB / 490.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.275, allocations: 43.97 kB / 490.4 MB, free: 9.422 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.2752, allocations: 51.95 kB / 490.4 MB, free: 9.371 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.2753, allocations: 43.97 kB / 490.5 MB, free: 9.328 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2753, allocations: 4 kB / 490.5 MB, free: 9.324 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003316/0.2757, allocations: 133.5 kB / 490.6 MB, free: 9.188 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2757, allocations: 10.5 kB / 490.6 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2757, allocations: 4 kB / 490.6 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2757, allocations: 0 / 490.6 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.2759, allocations: 20.42 kB / 490.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.2759, allocations: 0 / 490.6 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.197e-05/0.276, allocations: 19.98 kB / 490.7 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.276, allocations: 16.36 kB / 490.7 MB, free: 9.121 MB / 362.7 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 6.921e-05/0.2761, allocations: 113.8 kB / 490.8 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.2761, allocations: 7.906 kB / 490.8 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003985/0.2765, allocations: 153.5 kB / 490.9 MB, free: 8.836 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.2765, allocations: 11.92 kB / 491 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2765, allocations: 0 / 491 MB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2765, allocations: 3.984 kB / 491 MB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.2767, allocations: 189.6 kB / 491.1 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2767, allocations: 0 / 491.1 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.2769, allocations: 31.92 kB / 491.2 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2769, allocations: 3.984 kB / 491.2 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.2769, allocations: 0 / 491.2 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2769, allocations: 0 / 491.2 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2769, allocations: 0 / 491.2 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003813/0.2773, allocations: 239.4 kB / 491.4 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.2773, allocations: 92.95 kB / 491.5 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.2774, allocations: 3.938 kB / 491.5 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.2775, allocations: 15.98 kB / 491.5 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.2775, allocations: 11.98 kB / 491.5 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.2775, allocations: 0 / 491.5 MB, free: 8.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.272e-05/0.2776, allocations: 87.28 kB / 491.6 MB, free: 8.074 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2776, allocations: 0 / 491.6 MB, free: 8.074 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002163/0.2778, allocations: 12 kB / 491.6 MB, free: 8.062 MB / 362.7 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.0001446/0.278, allocations: 115.2 kB / 491.7 MB, free: 7.938 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003609/0.2783, allocations: 103.9 kB / 491.8 MB, free: 7.836 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2784, allocations: 0 / 491.8 MB, free: 7.836 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.2785, allocations: 67.89 kB / 491.9 MB, free: 7.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.2787, allocations: 4 kB / 491.9 MB, free: 7.766 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.2791, allocations: 175.1 kB / 492.1 MB, free: 7.566 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.2793, allocations: 0.6926 MB / 492.8 MB, free: 6.848 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.683e-05/0.2793, allocations: 8 kB / 492.8 MB, free: 6.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.2794, allocations: 7.438 kB / 492.8 MB, free: 6.832 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2794, allocations: 3.938 kB / 492.8 MB, free: 6.828 MB / 362.7 MB Notification: Performance of Templates: time 0.002638/0.282, allocations: 0.7633 MB / 493.6 MB, free: 6.074 MB / 362.7 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