Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.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.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion") translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [: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.001155/0.001155, allocations: 192.6 kB / 8.534 MB, free: 1.84 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.21/1.21, allocations: 225.5 MB / 234.4 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008415/0.0008417, allocations: 87.09 kB / 286.3 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.933e-06/6.973e-06, allocations: 0 / 343.1 MB, free: 8.688 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09058/0.0906, allocations: 51.48 MB / 394.6 MB, free: 5.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.262/0.3527, allocations: 79.52 MB / 474.1 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.353, allocations: 71.91 kB / 474.2 MB, free: 12.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01558/0.3685, allocations: 6.968 MB / 481.2 MB, free: 8.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.3686, allocations: 4 kB / 481.2 MB, free: 8.016 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007232/0.3693, allocations: 0.5999 MB / 481.8 MB, free: 7.375 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3694, allocations: 8.031 kB / 481.8 MB, free: 7.367 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.3696, allocations: 45.11 kB / 481.8 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.37, allocations: 254.4 kB / 482.1 MB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.262e-05/0.3701, allocations: 49.25 kB / 482.1 MB, free: 6.996 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.3701, allocations: 15.91 kB / 482.1 MB, free: 6.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002765/0.3704, allocations: 158.4 kB / 482.3 MB, free: 6.875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/0.3707, allocations: 205.2 kB / 482.5 MB, free: 6.715 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.3708, allocations: 3.984 kB / 482.5 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.3708, allocations: 4 kB / 482.5 MB, free: 6.707 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.3708, allocations: 4 kB / 482.5 MB, free: 6.703 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.372, allocations: 0.7241 MB / 483.2 MB, free: 6.043 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/0.3723, allocations: 248.5 kB / 483.5 MB, free: 5.863 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.3726, allocations: 197.2 kB / 483.7 MB, free: 5.738 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.3726, allocations: 4 kB / 483.7 MB, free: 5.734 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002616/0.3729, allocations: 279.8 kB / 483.9 MB, free: 5.477 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 1.613e-06/0.3729, allocations: 0 / 483.9 MB, free: 5.477 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.0004102/0.3733, allocations: 257.7 kB / 484.2 MB, free: 5.273 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.711e-05/0.3734, allocations: 235 kB / 484.4 MB, free: 5.004 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.3735, allocations: 150.8 kB / 484.6 MB, free: 4.871 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.3735, allocations: 34.44 kB / 484.6 MB, free: 4.832 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.248e-05/0.3736, allocations: 125.6 kB / 484.7 MB, free: 4.715 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.463e-05/0.3737, allocations: 75.81 kB / 484.8 MB, free: 4.652 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/0.3737, allocations: 32 / 484.8 MB, free: 4.652 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.635e-05/0.3737, allocations: 340.6 kB / 485.1 MB, free: 4.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.3739, allocations: 85.56 kB / 485.2 MB, free: 4.258 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.374, allocations: 151.8 kB / 485.4 MB, free: 4.121 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.3741, allocations: 108.2 kB / 485.5 MB, free: 4.047 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3742, allocations: 4 kB / 485.5 MB, free: 4.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003405/0.3745, allocations: 290 kB / 485.8 MB, free: 3.809 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.3745, allocations: 11.94 kB / 485.8 MB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3745, allocations: 0 / 485.8 MB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3746, allocations: 4.938 kB / 485.8 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.3747, allocations: 46.72 kB / 485.8 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3748, allocations: 4 kB / 485.8 MB, free: 3.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.3749, allocations: 27.83 kB / 485.9 MB, free: 3.719 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.375, allocations: 11.56 kB / 485.9 MB, free: 3.711 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.dA_Converter.y,dA_Converter.y,$PRE.aD_Converter.z,aD_Converter.z,$PRE.aD_Converter.y[1],aD_Converter.y[1],$PRE.aD_Converter.y[2],aD_Converter.y[2],$PRE.aD_Converter.y[3],aD_Converter.y[3],$PRE.aD_Converter.y[4],aD_Converter.y[4],$PRE.aD_Converter.y[5],aD_Converter.y[5],$PRE.aD_Converter.y[6],aD_Converter.y[6],$PRE.aD_Converter.y[7],aD_Converter.y[7],dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],$whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.trig,$PRE.pulse.T0,pulse.T0,$PRE.pulse.np,pulse.np,pulse.sampling,$PRE.dA_Converter.vout,dA_Converter.vout) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0001318/0.3751, allocations: 206.5 kB / 486.1 MB, free: 3.496 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.3752, allocations: 25.02 kB / 486.1 MB, free: 3.473 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.578e-05/0.3752, allocations: 20.59 kB / 486.1 MB, free: 3.461 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.3752, allocations: 4 kB / 486.1 MB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3752, allocations: 1.938 kB / 486.1 MB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3752, allocations: 0 / 486.1 MB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007226/0.376, allocations: 0.7677 MB / 486.9 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.376, allocations: 0 / 486.9 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.3761, allocations: 19.98 kB / 486.9 MB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3761, allocations: 4 kB / 486.9 MB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.3762, allocations: 6.938 kB / 486.9 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3762, allocations: 4.031 kB / 486.9 MB, free: 2.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3762, allocations: 0 / 486.9 MB, free: 2.73 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003922/0.3766, allocations: 424.3 kB / 487.3 MB, free: 2.363 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.3766, allocations: 94.89 kB / 487.4 MB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.349e-05/0.3767, allocations: 18.8 kB / 487.4 MB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.3769, allocations: 23.98 kB / 487.5 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.84e-05/0.377, allocations: 25.08 kB / 487.5 MB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.3771, allocations: 12.81 kB / 487.5 MB, free: 2.188 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.394e-05/0.3771, allocations: 117.8 kB / 487.6 MB, free: 2.086 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003237/0.3775, allocations: 71.78 kB / 487.7 MB, free: 2.016 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.y[1],aD_Converter.y[2],aD_Converter.y[3],aD_Converter.y[4],aD_Converter.y[5],aD_Converter.y[6],aD_Converter.y[7],aD_Converter.trig,aD_Converter.z,pulse.T0,pulse.np,pulse.sampling,dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],dA_Converter.vout,dA_Converter.y) * Number of discrete states: 13 (pulse.np,aD_Converter.y[7],aD_Converter.y[6],aD_Converter.y[5],aD_Converter.y[4],aD_Converter.y[3],aD_Converter.y[2],aD_Converter.y[1],aD_Converter.z,$whenCondition1,dA_Converter.vout,dA_Converter.y,$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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.0001675/0.3776, allocations: 136.8 kB / 487.8 MB, free: 1.879 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003851/0.378, allocations: 355.1 kB / 488.2 MB, free: 1.586 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.378, allocations: 4 kB / 488.2 MB, free: 1.582 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002556/0.3783, allocations: 315.2 kB / 488.5 MB, free: 1.367 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.3789, allocations: 114.5 kB / 488.6 MB, free: 1.277 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006434/0.3795, allocations: 377 kB / 489 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/0.3797, allocations: 0.7699 MB / 489.7 MB, free: 148 kB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3797, allocations: 0 / 489.7 MB, free: 148 kB / 346.7 MB Notification: Performance of Templates: time 0.007511/0.3873, allocations: 4.096 MB / 493.8 MB, free: 12.13 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches