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.001503/0.001503, allocations: 180.4 kB / 16.38 MB, free: 5.766 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.313/1.313, allocations: 223.2 MB / 240.3 MB, free: 11.87 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.0009464/0.0009465, allocations: 94.08 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.000298, allocations: 11.94 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2969, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09856/0.3955, allocations: 82.8 MB / 484.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.3958, allocations: 73.61 kB / 484.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05037/0.4461, allocations: 28.25 MB / 0.5006 GB, free: 1.508 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4462, allocations: 0 / 0.5006 GB, free: 1.508 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.4462, allocations: 4 kB / 0.5006 GB, free: 1.504 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.0006653/0.4469, allocations: 0.68 MB / 0.5013 GB, free: 0.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.447, allocations: 12.03 kB / 0.5013 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.309e-05/0.447, allocations: 35.58 kB / 0.5013 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.4473, allocations: 261.5 kB / 0.5016 GB, free: 420 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.4474, allocations: 4 kB / 0.5016 GB, free: 416 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.4474, allocations: 11.94 kB / 0.5016 GB, free: 404 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.4477, allocations: 149.5 kB / 0.5017 GB, free: 248 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.4477, allocations: 0 / 0.5017 GB, free: 248 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.4478, allocations: 4 kB / 0.5017 GB, free: 244 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4478, allocations: 4 kB / 0.5017 GB, free: 240 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.4479, allocations: 71.91 kB / 0.5018 GB, free: 168 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2035/0.6514, allocations: 466.6 kB / 0.5022 GB, free: 97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.6518, allocations: 102.2 kB / 0.5023 GB, free: 96.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.6518, allocations: 2.438 kB / 0.5023 GB, free: 96.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003992/0.6522, allocations: 228.4 kB / 0.5026 GB, free: 96.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 3.086e-06/0.6522, allocations: 0 / 0.5026 GB, free: 96.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.001061/0.6533, allocations: 0.6653 MB / 0.5032 GB, free: 96.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.6533, allocations: 167.5 kB / 0.5034 GB, free: 96.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006026/0.6539, allocations: 464.1 kB / 0.5038 GB, free: 96.15 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.654, allocations: 35.8 kB / 0.5038 GB, free: 96.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.654, allocations: 100.4 kB / 0.5039 GB, free: 96.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.544e-05/0.6541, allocations: 30.25 kB / 0.504 GB, free: 96.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.6541, allocations: 2.5 kB / 0.504 GB, free: 96.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.743e-05/0.6542, allocations: 326.2 kB / 0.5043 GB, free: 95.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.6543, allocations: 60.48 kB / 0.5043 GB, free: 95.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.6545, allocations: 82.5 kB / 0.5044 GB, free: 95.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.6547, allocations: 176.2 kB / 0.5046 GB, free: 95.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.6547, allocations: 0 / 0.5046 GB, free: 95.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005751/0.6553, allocations: 413.3 kB / 0.505 GB, free: 95.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.87e-05/0.6553, allocations: 126.4 kB / 0.5051 GB, free: 95.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.6554, allocations: 1.891 kB / 0.5051 GB, free: 95.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.6554, allocations: 5.328 kB / 0.5051 GB, free: 95.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.137e-05/0.6554, allocations: 0.7969 kB / 0.5051 GB, free: 95.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.6554, allocations: 1.375 kB / 0.5051 GB, free: 95.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.6556, allocations: 18.98 kB / 0.5051 GB, free: 95.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.6557, allocations: 118.4 kB / 0.5052 GB, free: 95.28 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.0002861/0.656, allocations: 365.1 kB / 0.5056 GB, free: 95.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.6561, allocations: 38.69 kB / 0.5056 GB, free: 94.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.656e-05/0.6562, allocations: 65.05 kB / 0.5057 GB, free: 94.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.6562, allocations: 5.938 kB / 0.5057 GB, free: 94.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.6562, allocations: 0 / 0.5057 GB, free: 94.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.6562, allocations: 0.9844 kB / 0.5057 GB, free: 94.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.6573, allocations: 0.8423 MB / 0.5065 GB, free: 94.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.6573, allocations: 7.719 kB / 0.5065 GB, free: 94.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-06/0.6574, allocations: 1.312 kB / 0.5065 GB, free: 94.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.6574, allocations: 2.344 kB / 0.5065 GB, free: 94.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/0.6574, allocations: 28.69 kB / 0.5066 GB, free: 94.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.6574, allocations: 0 / 0.5066 GB, free: 94.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6574, allocations: 9.812 kB / 0.5066 GB, free: 94.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006331/0.6581, allocations: 0.5496 MB / 0.5071 GB, free: 94.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003237/0.6584, allocations: 259.6 kB / 0.5073 GB, free: 94.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.206e-05/0.6585, allocations: 11.12 kB / 0.5074 GB, free: 94.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.6586, allocations: 17.69 kB / 0.5074 GB, free: 94.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.6588, allocations: 33.89 kB / 0.5074 GB, free: 94.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001918/0.659, allocations: 121.3 kB / 0.5075 GB, free: 94.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003995/0.6594, allocations: 392.1 kB / 0.5079 GB, free: 93.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.6594, allocations: 0 / 0.5079 GB, free: 93.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002631/0.6597, allocations: 45.56 kB / 0.5079 GB, free: 93.93 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.0001163/0.6598, allocations: 116.7 kB / 0.5081 GB, free: 93.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000407/0.6602, allocations: 449.7 kB / 0.5085 GB, free: 93.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6602, allocations: 0 / 0.5085 GB, free: 93.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.6604, allocations: 386.4 kB / 0.5088 GB, free: 93.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.6609, allocations: 107.9 kB / 0.509 GB, free: 93.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008658/0.6618, allocations: 0.7348 MB / 0.5097 GB, free: 92.94 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.6621, allocations: 0.8152 MB / 0.5105 GB, free: 92.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.194e-05/0.6622, allocations: 13.91 kB / 0.5105 GB, free: 92.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/0.6622, allocations: 11.41 kB / 0.5105 GB, free: 92.2 MB / 378.7 MB Notification: Performance of SimCode: time 3.9e-07/0.6622, allocations: 0 / 0.5105 GB, free: 92.2 MB / 378.7 MB Notification: Performance of Templates: time 0.006648/0.6688, allocations: 5.759 MB / 0.5161 GB, free: 91.66 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