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.001212/0.001212, allocations: 200.5 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 226.5 MB / 245.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007879/0.0007878, allocations: 90.44 kB / 297.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002234/0.0002235, allocations: 4 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2214, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09792/0.3193, allocations: 77.39 MB / 486.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.3196, allocations: 68.75 kB / 486.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004107/0.3237, allocations: 1.401 MB / 488.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.3238, allocations: 0 / 488.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.3238, allocations: 4 kB / 488.2 MB, free: 12.65 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.0005558/0.3244, allocations: 387.3 kB / 488.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.3244, allocations: 12.03 kB / 488.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.3245, allocations: 4.844 kB / 488.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.3247, allocations: 180.2 kB / 488.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.3247, allocations: 5.031 kB / 488.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.3248, allocations: 384 / 488.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.3251, allocations: 102.1 kB / 488.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3251, allocations: 192 / 488.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.3252, allocations: 7.938 kB / 488.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.3252, allocations: 0 / 488.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003292/0.3255, allocations: 103.9 kB / 489 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005651/0.3261, allocations: 308.7 kB / 489.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.3264, allocations: 90.52 kB / 489.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.3266, allocations: 48.95 kB / 489.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.3266, allocations: 11.98 kB / 489.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.3266, allocations: 30.56 kB / 489.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 2.265e-06/0.3266, allocations: 0 / 489.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006722/0.3273, allocations: 189.6 kB / 489.7 MB, free: 11.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.3274, allocations: 51.41 kB / 489.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.3275, allocations: 109.8 kB / 489.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.3275, allocations: 29.7 kB / 489.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.131e-05/0.3276, allocations: 95.97 kB / 489.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.3277, allocations: 16.19 kB / 490 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/0.3277, allocations: 0 / 490 MB, free: 10.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3278, allocations: 322.8 kB / 490.3 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.328, allocations: 43.97 kB / 490.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.3282, allocations: 55.89 kB / 490.4 MB, free: 10.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.3284, allocations: 100.7 kB / 490.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3285, allocations: 0 / 490.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003448/0.3288, allocations: 141.5 kB / 490.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3288, allocations: 4 kB / 490.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3288, allocations: 0 / 490.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.3289, allocations: 0 / 490.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.329, allocations: 27.98 kB / 490.6 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.329, allocations: 3.984 kB / 490.7 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.597e-05/0.3291, allocations: 19.98 kB / 490.7 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.3291, allocations: 0 / 490.7 MB, free: 9.98 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 8.839e-05/0.3292, allocations: 113.8 kB / 490.8 MB, free: 9.859 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.3293, allocations: 15.94 kB / 490.8 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003967/0.3297, allocations: 149.5 kB / 490.9 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3297, allocations: 0 / 490.9 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.3297, allocations: 4 kB / 490.9 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-06/0.3297, allocations: 0 / 490.9 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.3299, allocations: 193.5 kB / 491.1 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3299, allocations: 0 / 491.1 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.33, allocations: 31.91 kB / 491.2 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.33, allocations: 8 kB / 491.2 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.33, allocations: 0 / 491.2 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3301, allocations: 448 / 491.2 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3301, allocations: 0 / 491.2 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003836/0.3304, allocations: 243.3 kB / 491.4 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.3305, allocations: 85.02 kB / 491.5 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.3305, allocations: 4 kB / 491.5 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.3306, allocations: 23.97 kB / 491.5 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.3307, allocations: 7.984 kB / 491.5 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.3307, allocations: 4 kB / 491.5 MB, free: 9.016 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.546e-05/0.3308, allocations: 87.27 kB / 491.6 MB, free: 8.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3308, allocations: 0 / 491.6 MB, free: 8.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002414/0.331, allocations: 16 kB / 491.6 MB, free: 8.914 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.0001531/0.3312, allocations: 103.5 kB / 491.7 MB, free: 8.805 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003593/0.3315, allocations: 119.8 kB / 491.9 MB, free: 8.688 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3315, allocations: 0 / 491.9 MB, free: 8.688 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.3317, allocations: 63.89 kB / 491.9 MB, free: 8.625 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.332, allocations: 4 kB / 491.9 MB, free: 8.621 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.3324, allocations: 190.5 kB / 492.1 MB, free: 8.406 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.3327, allocations: 0.6887 MB / 492.8 MB, free: 7.691 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.194e-05/0.3327, allocations: 8 kB / 492.8 MB, free: 7.684 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.3328, allocations: 11.44 kB / 492.8 MB, free: 7.672 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.3328, allocations: 3.938 kB / 492.8 MB, free: 7.668 MB / 362.7 MB Notification: Performance of Templates: time 0.003023/0.3358, allocations: 0.7578 MB / 493.6 MB, free: 6.922 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/jenkins1/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