Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.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.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S") [: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.001084/0.001084, allocations: 194.9 kB / 8.539 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.202/1.202, 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.001095/0.001095, allocations: 89.83 kB / 286.3 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.092e-06/6.112e-06, allocations: 0 / 343.1 MB, free: 8.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09088/0.0909, allocations: 51.48 MB / 394.6 MB, free: 5.184 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.223/0.3139, allocations: 82.81 MB / 477.4 MB, free: 9.871 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.3142, allocations: 68.53 kB / 477.5 MB, free: 9.848 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.05016/0.3644, allocations: 27.7 MB / 0.4933 GB, free: 4.277 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.3644, allocations: 4 kB / 0.4933 GB, free: 4.273 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006035/0.365, allocations: 0.6211 MB / 0.494 GB, free: 3.617 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3651, allocations: 12.02 kB / 0.494 GB, free: 3.605 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.273e-05/0.3652, allocations: 34.62 kB / 0.494 GB, free: 3.574 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.3655, allocations: 267.1 kB / 0.4943 GB, free: 3.281 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.3656, allocations: 8 kB / 0.4943 GB, free: 3.273 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.3656, allocations: 8 kB / 0.4943 GB, free: 3.266 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001578/0.3658, allocations: 65.34 kB / 0.4943 GB, free: 3.219 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.366, allocations: 137.7 kB / 0.4945 GB, free: 3.094 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.366, allocations: 0 / 0.4945 GB, free: 3.094 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.3661, allocations: 7.984 kB / 0.4945 GB, free: 3.086 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3661, allocations: 3.984 kB / 0.4945 GB, free: 3.082 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007675/0.3669, allocations: 467.7 kB / 0.4949 GB, free: 2.672 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.367, allocations: 103.6 kB / 0.495 GB, free: 2.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.3671, allocations: 83.72 kB / 0.4951 GB, free: 2.535 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.3672, allocations: 4 kB / 0.4951 GB, free: 2.531 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.3674, allocations: 203.4 kB / 0.4953 GB, free: 2.332 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.3674, allocations: 0 / 0.4953 GB, free: 2.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004201/0.3678, allocations: 218 kB / 0.4955 GB, free: 2.121 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.366e-05/0.3679, allocations: 174.2 kB / 0.4957 GB, free: 1.914 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004968/0.3684, allocations: 442.1 kB / 0.4961 GB, free: 1.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.3685, allocations: 29.7 kB / 0.4961 GB, free: 1.445 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/0.3685, allocations: 97.06 kB / 0.4962 GB, free: 1.348 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.3686, allocations: 27.62 kB / 0.4962 GB, free: 1.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.133e-05/0.3686, allocations: 0 / 0.4962 GB, free: 1.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.3687, allocations: 322.8 kB / 0.4965 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.3688, allocations: 63.97 kB / 0.4966 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.3689, allocations: 70.64 kB / 0.4967 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.649e-05/0.369, allocations: 47.97 kB / 0.4967 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3691, allocations: 0 / 0.4967 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003347/0.3694, allocations: 201.5 kB / 0.4969 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3694, allocations: 11.94 kB / 0.4969 GB, free: 0.6055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3694, allocations: 3.906 kB / 0.4969 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3694, allocations: 0 / 0.4969 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.795e-05/0.3695, allocations: 0 / 0.4969 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3695, allocations: 2.922 kB / 0.4969 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.3696, allocations: 19.92 kB / 0.497 GB, free: 0.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.3698, allocations: 119.8 kB / 0.4971 GB, free: 476 kB / 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: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0001825/0.3699, allocations: 241.5 kB / 0.4973 GB, free: 200 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.577e-05/0.37, allocations: 35.53 kB / 0.4973 GB, free: 164 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.3701, allocations: 71.23 kB / 0.4974 GB, free: 88 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.3701, allocations: 0 / 0.4974 GB, free: 88 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3702, allocations: 0 / 0.4974 GB, free: 88 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3702, allocations: 0 / 0.4974 GB, free: 88 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007262/0.3709, allocations: 0.5922 MB / 0.498 GB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3709, allocations: 3.984 kB / 0.498 GB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-06/0.3709, allocations: 3.938 kB / 0.498 GB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3709, allocations: 4 kB / 0.498 GB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/0.371, allocations: 15.98 kB / 0.498 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.371, allocations: 4 kB / 0.498 GB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.371, allocations: 8.016 kB / 0.498 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004121/0.3714, allocations: 343 kB / 0.4983 GB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003619/0.3718, allocations: 256.5 kB / 0.4986 GB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.016e-05/0.3719, allocations: 12 kB / 0.4986 GB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.372, allocations: 19.89 kB / 0.4986 GB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.3722, allocations: 27.97 kB / 0.4986 GB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.3723, allocations: 115.9 kB / 0.4988 GB, free: 14.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004196/0.3727, allocations: 378.8 kB / 0.4991 GB, free: 14.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002892/0.373, allocations: 36 kB / 0.4991 GB, free: 14.22 MB / 378.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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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.0001789/0.3732, allocations: 115.2 kB / 0.4993 GB, free: 14.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003799/0.3736, allocations: 270.8 kB / 0.4995 GB, free: 13.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3736, allocations: 0 / 0.4995 GB, free: 13.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.3739, allocations: 266.8 kB / 0.4998 GB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/0.3744, allocations: 108.8 kB / 0.4999 GB, free: 13.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009269/0.3754, allocations: 0.5189 MB / 0.5004 GB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004128/0.3758, allocations: 0.8212 MB / 0.5012 GB, free: 12.03 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3758, allocations: 0 / 0.5012 GB, free: 12.03 MB / 378.7 MB Notification: Performance of Templates: time 0.008123/0.3839, allocations: 5.562 MB / 0.5066 GB, free: 6.438 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches