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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001688/0.001688, allocations: 192.1 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008568/0.0008568, allocations: 89.89 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.112e-06/6.222e-06, allocations: 4 kB / 343.1 MB, free: 8.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08305/0.08307, allocations: 51.47 MB / 394.6 MB, free: 5.23 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2195/0.3026, allocations: 76.66 MB / 471.3 MB, free: 14.76 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000155/0.3028, allocations: 56.45 kB / 471.3 MB, free: 14.74 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.003355/0.3062, allocations: 1.105 MB / 472.4 MB, free: 14.13 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.3062, allocations: 4 kB / 472.4 MB, free: 14.12 MB / 346.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.0004058/0.3066, allocations: 378.1 kB / 472.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.3067, allocations: 8.031 kB / 472.8 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.3067, allocations: 10.72 kB / 472.8 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.558e-05/0.3068, allocations: 171 kB / 473 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.3068, allocations: 3.984 kB / 473 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.3068, allocations: 7.906 kB / 473 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001077/0.3069, allocations: 31.72 kB / 473 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.079e-05/0.307, allocations: 56.55 kB / 473.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.3071, allocations: 0 / 473.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3071, allocations: 3.469 kB / 473.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3071, allocations: 0 / 473.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.3074, allocations: 279.9 kB / 473.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.3075, allocations: 51.89 kB / 473.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/0.3076, allocations: 16.73 kB / 473.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.3076, allocations: 7.156 kB / 473.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.277e-05/0.3076, allocations: 33.75 kB / 473.5 MB, free: 13.06 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.3076, allocations: 0 / 473.5 MB, free: 13.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001671/0.3078, allocations: 62.88 kB / 473.5 MB, free: 13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.59e-05/0.3078, allocations: 51.41 kB / 473.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.089e-05/0.3079, allocations: 111.7 kB / 473.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.3079, allocations: 28.98 kB / 473.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.96e-05/0.3079, allocations: 84.05 kB / 473.8 MB, free: 12.72 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.3079, allocations: 22.47 kB / 473.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.308, allocations: 0 / 473.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.124e-05/0.308, allocations: 310.8 kB / 474.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.623e-05/0.308, allocations: 14.75 kB / 474.1 MB, free: 12.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.51e-05/0.3081, allocations: 18.64 kB / 474.2 MB, free: 12.38 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.675e-05/0.3081, allocations: 7.188 kB / 474.2 MB, free: 12.37 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3081, allocations: 7.906 kB / 474.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.073e-05/0.3082, allocations: 71.67 kB / 474.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.3082, allocations: 4 kB / 474.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3082, allocations: 0 / 474.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3082, allocations: 0 / 474.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.3084, allocations: 26.7 kB / 474.3 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.3084, allocations: 7.906 kB / 474.3 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.197e-05/0.3085, allocations: 15.42 kB / 474.3 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.3085, allocations: 4 kB / 474.3 MB, free: 12.26 MB / 346.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 () * 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 3.914e-05/0.3086, allocations: 105 kB / 474.4 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.3086, allocations: 15.05 kB / 474.4 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.3087, allocations: 78.58 kB / 474.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3088, allocations: 3.938 kB / 474.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3088, allocations: 0 / 474.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3088, allocations: 0 / 474.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.3089, allocations: 162.4 kB / 474.7 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3089, allocations: 0 / 474.7 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.309, allocations: 34.75 kB / 474.7 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.309, allocations: 0 / 474.7 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.3091, allocations: 0 / 474.7 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3091, allocations: 0 / 474.7 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.3091, allocations: 0 / 474.7 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001136/0.3092, allocations: 175.2 kB / 474.9 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.277e-05/0.3092, allocations: 84.95 kB / 474.9 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.3092, allocations: 7.141 kB / 474.9 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.3094, allocations: 17.39 kB / 475 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.3094, allocations: 3.188 kB / 475 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.3094, allocations: 11.31 kB / 475 MB, free: 11.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.294e-05/0.3095, allocations: 90.16 kB / 475.1 MB, free: 11.51 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000217/0.3097, allocations: 15.91 kB / 475.1 MB, free: 11.49 MB / 346.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 () * 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.0001095/0.3098, allocations: 103.2 kB / 475.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001037/0.3099, allocations: 37.5 kB / 475.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3099, allocations: 4 kB / 475.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.848e-05/0.31, allocations: 27.31 kB / 475.3 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.3101, allocations: 4.562 kB / 475.3 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002557/0.3104, allocations: 91.27 kB / 475.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.3106, allocations: 0.7094 MB / 476.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of SimCode: time 3e-07/0.3106, allocations: 0 / 476.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of Templates: time 0.002765/0.3133, allocations: 0.7803 MB / 476.8 MB, free: 10.09 MB / 346.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