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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 176.4 kB / 17.4 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.3 MB / 241.4 MB, free: 9.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 103.8 kB / 292.6 MB, free: 10.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.0003227, allocations: 8 kB / 352.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.33, allocations: 50.4 MB / 402.7 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1015/0.4315, allocations: 82.83 MB / 485.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.4318, allocations: 75.95 kB / 485.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05632/0.4881, allocations: 28.25 MB / 0.5019 GB, free: 1.289 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4881, allocations: 0 / 0.5019 GB, free: 1.289 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.4882, allocations: 4 kB / 0.5019 GB, free: 1.285 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.0008312/0.489, allocations: 0.6761 MB / 0.5025 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.489, allocations: 8.031 kB / 0.5025 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.4892, allocations: 36.56 kB / 0.5026 GB, free: 500 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.4895, allocations: 270.4 kB / 0.5028 GB, free: 192 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.4895, allocations: 4.375 kB / 0.5028 GB, free: 188 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.4896, allocations: 12.38 kB / 0.5028 GB, free: 176 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/0.4899, allocations: 146.1 kB / 0.503 GB, free: 24 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.4899, allocations: 4.125 kB / 0.503 GB, free: 20 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.49, allocations: 11.92 kB / 0.503 GB, free: 8 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.49, allocations: 8 kB / 0.503 GB, free: 0 / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2261/0.7161, allocations: 57.34 kB / 0.503 GB, free: 97.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009637/0.7172, allocations: 475.4 kB / 0.5035 GB, free: 96.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.7174, allocations: 103.8 kB / 0.5036 GB, free: 96.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.7176, allocations: 91.59 kB / 0.5037 GB, free: 96.85 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.7177, allocations: 1.062 kB / 0.5037 GB, free: 96.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003999/0.7181, allocations: 230.3 kB / 0.5039 GB, free: 96.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.485e-06/0.7181, allocations: 0.6562 kB / 0.5039 GB, free: 96.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.00103/0.7191, allocations: 0.532 MB / 0.5044 GB, free: 96.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/0.7192, allocations: 169.2 kB / 0.5046 GB, free: 96.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007132/0.7199, allocations: 0.5113 MB / 0.5051 GB, free: 96.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.72, allocations: 34.58 kB / 0.5051 GB, free: 96.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/0.72, allocations: 98.84 kB / 0.5052 GB, free: 96.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/0.7201, allocations: 31.52 kB / 0.5052 GB, free: 96.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.921e-05/0.7201, allocations: 3.75 kB / 0.5053 GB, free: 96.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.87e-05/0.7202, allocations: 326.6 kB / 0.5056 GB, free: 95.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.7203, allocations: 60.53 kB / 0.5056 GB, free: 95.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.7205, allocations: 82.53 kB / 0.5057 GB, free: 95.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.7208, allocations: 361.1 kB / 0.506 GB, free: 95.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.7208, allocations: 3.938 kB / 0.506 GB, free: 95.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006164/0.7215, allocations: 442.5 kB / 0.5065 GB, free: 95.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.491e-05/0.7216, allocations: 122.7 kB / 0.5066 GB, free: 95.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.7216, allocations: 1.875 kB / 0.5066 GB, free: 95.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.7216, allocations: 2.984 kB / 0.5066 GB, free: 95.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.769e-05/0.7216, allocations: 3.688 kB / 0.5066 GB, free: 95.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.7216, allocations: 0.9062 kB / 0.5066 GB, free: 95.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.7218, allocations: 18.28 kB / 0.5066 GB, free: 95.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.722, allocations: 121.5 kB / 0.5067 GB, free: 95.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.iNV3S.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,$PRE.iNV3S.inertialDelaySensitive.x,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: 0 () * Number of clocked 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.0003661/0.7223, allocations: 372.4 kB / 0.5071 GB, free: 94.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.952e-05/0.7224, allocations: 39 kB / 0.5071 GB, free: 94.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.7225, allocations: 65.06 kB / 0.5072 GB, free: 94.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.7226, allocations: 0.5312 kB / 0.5072 GB, free: 94.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.7226, allocations: 1.328 kB / 0.5072 GB, free: 94.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.7226, allocations: 1.875 kB / 0.5072 GB, free: 94.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.7237, allocations: 0.8721 MB / 0.508 GB, free: 94.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.7237, allocations: 3.844 kB / 0.508 GB, free: 94.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-06/0.7237, allocations: 7.828 kB / 0.5081 GB, free: 94.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.7237, allocations: 0.5 kB / 0.5081 GB, free: 94.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.204e-05/0.7238, allocations: 19.45 kB / 0.5081 GB, free: 94.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7238, allocations: 0.5938 kB / 0.5081 GB, free: 94.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.7238, allocations: 3.75 kB / 0.5081 GB, free: 94.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.7248, allocations: 0.5841 MB / 0.5086 GB, free: 94.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003368/0.7252, allocations: 261 kB / 0.5089 GB, free: 94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.674e-05/0.7253, allocations: 14.03 kB / 0.5089 GB, free: 94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.7254, allocations: 17.67 kB / 0.5089 GB, free: 94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.7256, allocations: 30.39 kB / 0.509 GB, free: 94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/0.7257, allocations: 123.3 kB / 0.5091 GB, free: 93.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004372/0.7261, allocations: 394.3 kB / 0.5094 GB, free: 93.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7261, allocations: 0 / 0.5094 GB, free: 93.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000307/0.7265, allocations: 46.66 kB / 0.5095 GB, free: 93.84 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) * Number of clocked states: 0 () * 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.0001349/0.7266, allocations: 122.7 kB / 0.5096 GB, free: 93.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004379/0.727, allocations: 446.3 kB / 0.51 GB, free: 93.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.7271, allocations: 2.516 kB / 0.51 GB, free: 93.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002511/0.7273, allocations: 384.6 kB / 0.5104 GB, free: 93.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.7279, allocations: 96.91 kB / 0.5105 GB, free: 93.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009036/0.7288, allocations: 0.7454 MB / 0.5112 GB, free: 92.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.729, allocations: 0.802 MB / 0.512 GB, free: 92.13 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.051e-05/0.7291, allocations: 8.438 kB / 0.512 GB, free: 92.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.756e-05/0.7291, allocations: 11.41 kB / 0.512 GB, free: 92.12 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7291, allocations: 0 / 0.512 GB, free: 92.12 MB / 378.7 MB Notification: Performance of Templates: time 0.006855/0.736, allocations: 5.789 MB / 0.5177 GB, free: 91.58 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/jenkins1/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