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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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") [: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 3.2.3+maint.om/package.mo): time 0.0009787/0.0009787, allocations: 178.7 kB / 8.476 MB, free: 1.871 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.169/1.169, allocations: 205.2 MB / 214.1 MB, free: 5.176 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 98.19 kB / 262.1 MB, free: 5.199 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.011e-06/6.041e-06, allocations: 4 kB / 315 MB, free: 41.53 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08347/0.08349, allocations: 47.57 MB / 362.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2332/0.3167, allocations: 74.88 MB / 437.4 MB, free: 10.71 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.3171, allocations: 64.28 kB / 437.5 MB, free: 10.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.003613/0.3207, allocations: 0.9876 MB / 438.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.3207, allocations: 3.844 kB / 438.5 MB, free: 10.66 MB / 314.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.0003684/0.3211, allocations: 384 kB / 438.8 MB, free: 10.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3211, allocations: 11.84 kB / 438.8 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.3212, allocations: 11.72 kB / 438.9 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.359e-05/0.3213, allocations: 167.8 kB / 439 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.3213, allocations: 0 / 439 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.3213, allocations: 7.75 kB / 439 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001153/0.3214, allocations: 28.67 kB / 439.1 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.528e-05/0.3215, allocations: 60.83 kB / 439.1 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.3216, allocations: 3.938 kB / 439.1 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.3216, allocations: 0 / 439.1 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3216, allocations: 3.812 kB / 439.1 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.3219, allocations: 285.7 kB / 439.4 MB, free: 9.797 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.322, allocations: 45.06 kB / 439.5 MB, free: 9.773 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.09e-05/0.3221, allocations: 23.27 kB / 439.5 MB, free: 9.762 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.3221, allocations: 7.719 kB / 439.5 MB, free: 9.758 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.273e-05/0.3221, allocations: 34.56 kB / 439.5 MB, free: 9.715 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.3221, allocations: 0 / 439.5 MB, free: 9.715 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001676/0.3223, allocations: 61.11 kB / 439.6 MB, free: 9.684 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.637e-05/0.3223, allocations: 51.41 kB / 439.6 MB, free: 9.621 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.151e-05/0.3224, allocations: 102.6 kB / 439.7 MB, free: 9.531 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.3224, allocations: 28 kB / 439.8 MB, free: 9.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.797e-05/0.3224, allocations: 88.59 kB / 439.8 MB, free: 9.414 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.3225, allocations: 15.38 kB / 439.9 MB, free: 9.406 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.3225, allocations: 0 / 439.9 MB, free: 9.406 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.97e-05/0.3225, allocations: 319.4 kB / 440.2 MB, free: 9.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.613e-05/0.3226, allocations: 10.31 kB / 440.2 MB, free: 9.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.367e-05/0.3226, allocations: 16.44 kB / 440.2 MB, free: 9.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.851e-05/0.3226, allocations: 16.56 kB / 440.2 MB, free: 9.086 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3226, allocations: 3.906 kB / 440.2 MB, free: 9.082 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.882e-05/0.3227, allocations: 59.42 kB / 440.3 MB, free: 9.051 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.3227, allocations: 7.781 kB / 440.3 MB, free: 9.051 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3227, allocations: 0 / 440.3 MB, free: 9.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3228, allocations: 1.219 kB / 440.3 MB, free: 9.051 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.3229, allocations: 28.97 kB / 440.3 MB, free: 9.047 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3229, allocations: 3.906 kB / 440.3 MB, free: 9.043 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.946e-05/0.323, allocations: 29.25 kB / 440.3 MB, free: 9.035 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.3231, allocations: 0 / 440.3 MB, free: 9.035 MB / 314.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 4.003e-05/0.3231, allocations: 101 kB / 440.4 MB, free: 8.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.3231, allocations: 7.875 kB / 440.4 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.3233, allocations: 82.44 kB / 440.5 MB, free: 8.887 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3233, allocations: 384 / 440.5 MB, free: 8.887 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3233, allocations: 8.422 kB / 440.5 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3233, allocations: 3.875 kB / 440.5 MB, free: 8.883 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.3234, allocations: 162.5 kB / 440.7 MB, free: 8.723 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3234, allocations: 7.938 kB / 440.7 MB, free: 8.715 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.3236, allocations: 25.2 kB / 440.7 MB, free: 8.715 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3236, allocations: 7.875 kB / 440.7 MB, free: 8.711 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.3236, allocations: 0 / 440.7 MB, free: 8.711 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3236, allocations: 0 / 440.7 MB, free: 8.711 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3236, allocations: 0 / 440.7 MB, free: 8.711 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001198/0.3237, allocations: 168.2 kB / 440.9 MB, free: 8.574 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/0.3238, allocations: 81.02 kB / 441 MB, free: 8.477 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.3238, allocations: 5.516 kB / 441 MB, free: 8.477 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.3239, allocations: 19.09 kB / 441 MB, free: 8.473 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.324, allocations: 10.84 kB / 441 MB, free: 8.473 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.324, allocations: 0 / 441 MB, free: 8.473 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.948e-05/0.324, allocations: 88.38 kB / 441.1 MB, free: 8.398 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002229/0.3243, allocations: 13.17 kB / 441.1 MB, free: 8.395 MB / 314.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.0001343/0.3244, allocations: 111.6 kB / 441.2 MB, free: 8.297 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000112/0.3245, allocations: 35.62 kB / 441.3 MB, free: 8.297 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3245, allocations: 3.938 kB / 441.3 MB, free: 8.293 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.209e-05/0.3246, allocations: 24.14 kB / 441.3 MB, free: 8.293 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.3248, allocations: 2.031 kB / 441.3 MB, free: 8.293 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003063/0.3251, allocations: 96.8 kB / 441.4 MB, free: 8.215 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.3253, allocations: 0.7024 MB / 442.1 MB, free: 7.512 MB / 314.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3253, allocations: 0 / 442.1 MB, free: 7.512 MB / 314.7 MB Notification: Performance of Templates: time 0.002592/0.3279, allocations: 0.8046 MB / 442.9 MB, free: 7.434 MB / 314.7 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