Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 187.4 kB / 8.14 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 221.4 MB / 229.9 MB, free: 3.004 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001004, allocations: 101.4 kB / 280.8 MB, free: 1.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.177e-06/9.207e-06, allocations: 4 kB / 336.5 MB, free: 9.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2224, allocations: 50.39 MB / 386.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09191/0.3144, allocations: 81.99 MB / 468.9 MB, free: 4.844 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/0.3146, allocations: 71.89 kB / 469 MB, free: 4.773 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.05559/0.3702, allocations: 27.65 MB / 496.6 MB, free: 9.285 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.3703, allocations: 8 kB / 496.6 MB, free: 9.277 MB / 378.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.0006038/0.3709, allocations: 0.6174 MB / 497.2 MB, free: 8.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3709, allocations: 8.031 kB / 497.2 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.371, allocations: 35.62 kB / 497.3 MB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.3714, allocations: 267.6 kB / 497.5 MB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.3714, allocations: 4 kB / 497.5 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.3715, allocations: 12 kB / 497.6 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001431/0.3716, allocations: 59.97 kB / 497.6 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.3719, allocations: 145.6 kB / 497.8 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3719, allocations: 0 / 497.8 MB, free: 8.023 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.3719, allocations: 4 kB / 497.8 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.372, allocations: 0 / 497.8 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007608/0.3727, allocations: 469 kB / 498.2 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.3729, allocations: 102.5 kB / 498.3 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.373, allocations: 82.11 kB / 498.4 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.373, allocations: 7.891 kB / 498.4 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002136/0.3733, allocations: 202.6 kB / 498.6 MB, free: 7.102 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.404e-06/0.3733, allocations: 0 / 498.6 MB, free: 7.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004153/0.3737, allocations: 229.2 kB / 498.8 MB, free: 6.871 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.57e-05/0.3738, allocations: 166.2 kB / 499 MB, free: 6.672 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005207/0.3743, allocations: 444.5 kB / 499.4 MB, free: 6.234 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.3744, allocations: 33.7 kB / 499.5 MB, free: 6.195 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/0.3744, allocations: 89.12 kB / 499.5 MB, free: 6.105 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/0.3744, allocations: 31.66 kB / 499.6 MB, free: 6.074 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/0.3745, allocations: 0 / 499.6 MB, free: 6.074 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.758e-05/0.3746, allocations: 326.7 kB / 499.9 MB, free: 5.746 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.3747, allocations: 63.97 kB / 500 MB, free: 5.684 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.741e-05/0.3748, allocations: 55.98 kB / 0.4883 GB, free: 5.629 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.54e-05/0.3749, allocations: 56.52 kB / 0.4883 GB, free: 5.578 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3749, allocations: 4 kB / 0.4884 GB, free: 5.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003415/0.3753, allocations: 197.5 kB / 0.4885 GB, free: 5.375 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.3753, allocations: 8 kB / 0.4885 GB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3753, allocations: 0 / 0.4885 GB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.3753, allocations: 3.906 kB / 0.4886 GB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.759e-05/0.3753, allocations: 4 kB / 0.4886 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.3753, allocations: 0 / 0.4886 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.3755, allocations: 19.92 kB / 0.4886 GB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.3756, allocations: 119.8 kB / 0.4887 GB, free: 5.223 MB / 378.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.0001655/0.3758, allocations: 241.5 kB / 0.4889 GB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.3759, allocations: 43.53 kB / 0.489 GB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.376, allocations: 67.22 kB / 0.489 GB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.376, allocations: 0 / 0.489 GB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.376, allocations: 1.031 kB / 0.489 GB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.376, allocations: 0 / 0.489 GB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006543/0.3767, allocations: 0.5847 MB / 0.4896 GB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3767, allocations: 4 kB / 0.4896 GB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.809e-06/0.3767, allocations: 4 kB / 0.4896 GB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.3767, allocations: 0 / 0.4896 GB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/0.3767, allocations: 23.98 kB / 0.4896 GB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.3767, allocations: 3.938 kB / 0.4896 GB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3768, allocations: 0 / 0.4896 GB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000434/0.3772, allocations: 347.1 kB / 0.49 GB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/0.3775, allocations: 256.4 kB / 0.4902 GB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.033e-05/0.3776, allocations: 16.59 kB / 0.4902 GB, free: 3.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.3778, allocations: 19.98 kB / 0.4902 GB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.3779, allocations: 27.88 kB / 0.4903 GB, free: 3.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.3781, allocations: 119.9 kB / 0.4904 GB, free: 3.379 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000418/0.3785, allocations: 370.9 kB / 0.4907 GB, free: 3.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00031/0.3788, allocations: 36 kB / 0.4908 GB, free: 2.984 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.0001626/0.379, allocations: 119 kB / 0.4909 GB, free: 2.859 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003643/0.3794, allocations: 275.9 kB / 0.4911 GB, free: 2.566 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3794, allocations: 0 / 0.4911 GB, free: 2.566 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002524/0.3796, allocations: 270.8 kB / 0.4914 GB, free: 2.277 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005079/0.3801, allocations: 98.53 kB / 0.4915 GB, free: 2.188 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008969/0.381, allocations: 0.5304 MB / 0.492 GB, free: 1.629 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003965/0.3815, allocations: 0.8251 MB / 0.4928 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3815, allocations: 0 / 0.4928 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of Templates: time 0.1328/0.5143, allocations: 5.568 MB / 0.4983 GB, free: 135.5 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches