Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.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.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_cpp_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 3.2.3+maint.om/package.mo): time 0.001642/0.001642, allocations: 176.2 kB / 8.148 MB, free: 2.207 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.736/1.736, allocations: 205.2 MB / 213.8 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001291/0.00129, allocations: 95.86 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.739e-06/9.758e-06, allocations: 0 / 314.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2531, allocations: 47.56 MB / 361.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/0.4199, allocations: 81.09 MB / 442.9 MB, free: 4.965 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.4202, allocations: 70.84 kB / 443 MB, free: 4.898 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.09518/0.5154, allocations: 27.28 MB / 470.3 MB, free: 9.762 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.5155, allocations: 4 kB / 470.3 MB, free: 9.758 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.0007431/0.5162, allocations: 0.6096 MB / 470.9 MB, free: 9.078 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.5163, allocations: 12.59 kB / 470.9 MB, free: 9.066 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.5164, allocations: 31.62 kB / 470.9 MB, free: 9.035 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004783/0.5169, allocations: 273.4 kB / 471.2 MB, free: 8.727 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.5169, allocations: 4 kB / 471.2 MB, free: 8.723 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.839e-05/0.517, allocations: 8 kB / 471.2 MB, free: 8.715 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002223/0.5172, allocations: 63.97 kB / 471.3 MB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.5176, allocations: 134.1 kB / 471.4 MB, free: 8.516 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.5176, allocations: 0 / 471.4 MB, free: 8.516 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.865e-05/0.5177, allocations: 7.984 kB / 471.4 MB, free: 8.508 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.5177, allocations: 4 kB / 471.4 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.5188, allocations: 465 kB / 471.9 MB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.5191, allocations: 98.55 kB / 472 MB, free: 7.906 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.5193, allocations: 90.22 kB / 472 MB, free: 7.816 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.5194, allocations: 3.984 kB / 472.1 MB, free: 7.812 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003529/0.5197, allocations: 210.6 kB / 472.3 MB, free: 7.582 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.485e-06/0.5197, allocations: 0 / 472.3 MB, free: 7.582 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006641/0.5204, allocations: 225.1 kB / 472.5 MB, free: 7.355 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.5206, allocations: 166.2 kB / 472.6 MB, free: 7.156 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009797/0.5215, allocations: 448.7 kB / 473.1 MB, free: 6.715 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.008e-05/0.5216, allocations: 33.64 kB / 473.1 MB, free: 6.676 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.919e-05/0.5217, allocations: 151.6 kB / 473.3 MB, free: 6.527 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.368e-05/0.5218, allocations: 35.55 kB / 473.3 MB, free: 6.492 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.5218, allocations: 4 kB / 473.3 MB, free: 6.488 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.522, allocations: 314.8 kB / 473.6 MB, free: 6.172 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.5222, allocations: 63.97 kB / 473.7 MB, free: 6.109 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.5224, allocations: 59.98 kB / 473.7 MB, free: 6.051 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.5226, allocations: 62.91 kB / 473.8 MB, free: 5.992 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.5226, allocations: 3.469 kB / 473.8 MB, free: 5.992 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005533/0.5232, allocations: 189.5 kB / 474 MB, free: 5.801 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.5232, allocations: 8 kB / 474 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.5232, allocations: 0 / 474 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.5232, allocations: 0 / 474 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.378e-05/0.5233, allocations: 0 / 474 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.5233, allocations: 3.984 kB / 474 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.5235, allocations: 19.94 kB / 474 MB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001908/0.5237, allocations: 119.7 kB / 474.1 MB, free: 5.652 MB / 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.000246/0.524, allocations: 174.2 kB / 474.3 MB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.5241, allocations: 43.52 kB / 474.3 MB, free: 5.406 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.5243, allocations: 59.25 kB / 474.4 MB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/0.5243, allocations: 0 / 474.4 MB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.5244, allocations: 0 / 474.4 MB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.5244, allocations: 3.906 kB / 474.4 MB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.5256, allocations: 0.5927 MB / 475 MB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5256, allocations: 0 / 475 MB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.018e-05/0.5256, allocations: 7.938 kB / 475 MB, free: 4.695 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.5256, allocations: 0 / 475 MB, free: 4.695 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.334e-05/0.5257, allocations: 23.98 kB / 475 MB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.5257, allocations: 3.906 kB / 475 MB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5257, allocations: 0 / 475 MB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006677/0.5264, allocations: 335 kB / 475.4 MB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006051/0.527, allocations: 256.5 kB / 475.6 MB, free: 4.055 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.5271, allocations: 12 kB / 475.6 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/0.5274, allocations: 19.89 kB / 475.6 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.5276, allocations: 27.97 kB / 475.7 MB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001901/0.5278, allocations: 120 kB / 475.8 MB, free: 3.879 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0007283/0.5286, allocations: 370.9 kB / 476.1 MB, free: 3.516 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004266/0.529, allocations: 36 kB / 476.2 MB, free: 3.48 MB / 362.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.0002202/0.5292, allocations: 127 kB / 476.3 MB, free: 3.344 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005947/0.5298, allocations: 266.7 kB / 476.6 MB, free: 3.059 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5299, allocations: 4 kB / 476.6 MB, free: 3.055 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004648/0.5303, allocations: 270.8 kB / 476.8 MB, free: 2.766 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008984/0.5313, allocations: 102.5 kB / 476.9 MB, free: 2.672 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.533, allocations: 0.5673 MB / 477.5 MB, free: 2.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006526/0.5336, allocations: 0.8251 MB / 478.3 MB, free: 1.219 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5336, allocations: 0 / 478.3 MB, free: 1.219 MB / 362.7 MB Notification: Performance of Templates: time 0.008847/0.5425, allocations: 3.784 MB / 482.1 MB, free: 13.41 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches