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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009043/0.0009044, allocations: 94.17 kB / 17.31 MB, free: 6.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 178.4 kB / 18.21 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002246/0.0002246, allocations: 7.938 kB / 302.1 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07442/0.07467, allocations: 50.41 MB / 352.5 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.00135/0.07604, allocations: 1.227 MB / 353.7 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.07763, allocations: 0.8702 MB / 354.6 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.223e-05/0.07768, allocations: 0 / 354.6 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.979e-05/0.07775, allocations: 3.938 kB / 354.6 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.647e-05/0.07783, allocations: 15.91 kB / 354.6 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.07803, allocations: 43.91 kB / 354.7 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.07818, allocations: 123.7 kB / 354.8 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.721e-05/0.07826, allocations: 15.98 kB / 354.8 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004203/0.07869, allocations: 379.3 kB / 355.2 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.649e-05/0.0788, allocations: 59.77 kB / 355.2 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.07883, allocations: 4 kB / 355.2 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.368e-05/0.07886, allocations: 4 kB / 355.2 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.619e-05/0.07895, allocations: 63.7 kB / 355.3 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.07907, allocations: 140.8 kB / 355.4 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.07931, allocations: 275.4 kB / 355.7 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.07932, allocations: 0 / 355.7 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.07932, allocations: 0 / 355.7 MB, free: 260 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.07933, allocations: 0 / 355.7 MB, free: 260 kB / 286.1 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.0005884/0.07993, allocations: 0.6647 MB / 356.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.07996, allocations: 12.03 kB / 356.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.817e-05/0.08004, allocations: 40.45 kB / 356.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.08028, allocations: 270.3 kB / 356.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.0803, allocations: 4.375 kB / 356.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.08034, allocations: 12.38 kB / 356.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.08062, allocations: 141.8 kB / 356.8 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.08064, allocations: 0 / 356.8 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.08067, allocations: 8 kB / 356.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.08068, allocations: 0 / 356.8 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.08083, allocations: 55.97 kB / 356.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005758/0.08141, allocations: 464.4 kB / 357.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.0816, allocations: 94.55 kB / 357.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.08177, allocations: 92.8 kB / 357.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.283e-06/0.08178, allocations: 0 / 357.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002736/0.08206, allocations: 202.7 kB / 357.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.774e-06/0.08208, allocations: 7.938 kB / 357.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007479/0.08283, allocations: 463.9 kB / 358.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/0.08292, allocations: 162.2 kB / 358.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006162/0.08354, allocations: 0.5207 MB / 358.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.08358, allocations: 29.7 kB / 358.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.08364, allocations: 93.14 kB / 359 MB, free: 12.67 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.477e-05/0.08369, allocations: 39.56 kB / 359 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.08374, allocations: 25.7 kB / 359.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.396e-05/0.08384, allocations: 334.8 kB / 359.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.08397, allocations: 51.97 kB / 359.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.08411, allocations: 73.69 kB / 359.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.08442, allocations: 339 kB / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.08444, allocations: 0 / 359.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005159/0.08496, allocations: 384.3 kB / 360.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.349e-05/0.08504, allocations: 126.9 kB / 360.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.08505, allocations: 3.969 kB / 360.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.08507, allocations: 4 kB / 360.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.7e-05/0.08509, allocations: 4 kB / 360.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.0851, allocations: 0 / 360.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.08526, allocations: 16.11 kB / 360.4 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.267e-05/0.08532, allocations: 40 kB / 360.4 MB, free: 11.13 MB / 302.1 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,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.yy,iNV3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003113/0.08564, allocations: 370.2 kB / 360.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.0857, allocations: 35.62 kB / 360.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.08581, allocations: 71.14 kB / 360.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.08582, allocations: 0 / 360.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.08582, allocations: 0 / 360.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.08583, allocations: 0 / 360.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008956/0.08673, allocations: 0.8133 MB / 361.7 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.08675, allocations: 0 / 361.7 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.539e-06/0.08676, allocations: 0 / 361.7 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.08676, allocations: 0 / 361.7 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.08679, allocations: 11.98 kB / 361.7 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.0868, allocations: 0 / 361.7 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.08681, allocations: 15.92 kB / 361.7 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006114/0.08743, allocations: 0.529 MB / 362.2 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002856/0.08772, allocations: 240.4 kB / 362.5 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/0.08779, allocations: 12 kB / 362.5 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.08795, allocations: 11.98 kB / 362.5 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.255e-05/0.08804, allocations: 27.92 kB / 362.5 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.752e-05/0.08809, allocations: 43.92 kB / 362.6 MB, free: 8.785 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004572/0.08856, allocations: 394.9 kB / 362.9 MB, free: 8.398 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.08857, allocations: 0 / 362.9 MB, free: 8.398 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002986/0.08887, allocations: 51.88 kB / 363 MB, free: 8.348 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001065/0.08899, allocations: 119 kB / 363.1 MB, free: 8.223 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004779/0.08947, allocations: 437.6 kB / 363.5 MB, free: 7.746 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.08948, allocations: 3.938 kB / 363.5 MB, free: 7.742 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000304/0.08979, allocations: 373.7 kB / 363.9 MB, free: 7.328 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006337/0.09044, allocations: 116.3 kB / 364 MB, free: 7.215 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.09151, allocations: 0.7991 MB / 364.8 MB, free: 6.383 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.0919, allocations: 0.8064 MB / 365.6 MB, free: 5.551 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.953e-05/0.09193, allocations: 11.44 kB / 365.6 MB, free: 5.539 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.09193, allocations: 3.938 kB / 365.6 MB, free: 5.535 MB / 302.1 MB Notification: Performance of Templates: time 0.004054/0.09599, allocations: 2.549 MB / 368.2 MB, free: 2.973 MB / 302.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches