Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 173 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.0008303/0.0008304, allocations: 86.64 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.617e-05/2.62e-05, allocations: 7.984 kB / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07788/0.07792, allocations: 47.57 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2908/0.3688, allocations: 81.81 MB / 451.8 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.3691, allocations: 69.28 kB / 451.9 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05339/0.4225, allocations: 28.09 MB / 480 MB, free: 0.957 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4225, allocations: 0 / 480 MB, free: 0.957 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.4225, allocations: 8 kB / 480 MB, free: 0.9492 MB / 346.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.0006828/0.4232, allocations: 0.6176 MB / 480.6 MB, free: 268 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.4233, allocations: 8.031 kB / 480.6 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.646e-05/0.4234, allocations: 39.61 kB / 480.7 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.4237, allocations: 257.5 kB / 480.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.4238, allocations: 8 kB / 480.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.4238, allocations: 8 kB / 480.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.4241, allocations: 149.5 kB / 481.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4241, allocations: 4 kB / 481.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.4242, allocations: 4 kB / 481.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4242, allocations: 0 / 481.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.4243, allocations: 63.97 kB / 481.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007356/0.4251, allocations: 480.4 kB / 481.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.4253, allocations: 106.5 kB / 481.7 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.4254, allocations: 88.89 kB / 481.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.4254, allocations: 0 / 481.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003017/0.4257, allocations: 226.6 kB / 482 MB, free: 14.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.4257, allocations: 3.938 kB / 482 MB, free: 14.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006619/0.4264, allocations: 432 kB / 482.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.639e-05/0.4265, allocations: 166.3 kB / 482.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005713/0.4271, allocations: 478.4 kB / 483.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.4271, allocations: 29.7 kB / 483.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.518e-05/0.4272, allocations: 93.14 kB / 483.2 MB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/0.4273, allocations: 31.64 kB / 483.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/0.4273, allocations: 8 kB / 483.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.4274, allocations: 318.8 kB / 483.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.4275, allocations: 59.98 kB / 483.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.4277, allocations: 69.23 kB / 483.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.4278, allocations: 170.8 kB / 483.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4279, allocations: 3.953 kB / 483.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005337/0.4284, allocations: 412.9 kB / 484.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.474e-05/0.4285, allocations: 126.8 kB / 484.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4285, allocations: 0 / 484.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.4285, allocations: 0 / 484.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.766e-05/0.4285, allocations: 3.938 kB / 484.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4285, allocations: 3.984 kB / 484.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.4287, allocations: 12 kB / 484.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/0.4288, allocations: 123.7 kB / 484.5 MB, free: 12.05 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.0001786/0.429, allocations: 253.4 kB / 484.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.116e-05/0.4291, allocations: 43.48 kB / 484.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.4292, allocations: 67.42 kB / 484.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.4292, allocations: 0 / 484.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4292, allocations: 0 / 484.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.4292, allocations: 0 / 484.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009506/0.4302, allocations: 0.8487 MB / 485.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4302, allocations: 4 kB / 485.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-06/0.4302, allocations: 0 / 485.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.4302, allocations: 0 / 485.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.866e-05/0.4302, allocations: 23.98 kB / 485.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4302, allocations: 0 / 485.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4302, allocations: 3.984 kB / 485.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006505/0.4309, allocations: 0.5486 MB / 486.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003455/0.4313, allocations: 256.4 kB / 486.6 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.889e-05/0.4313, allocations: 12 kB / 486.6 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.4315, allocations: 15.98 kB / 486.6 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.4316, allocations: 31.95 kB / 486.6 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.4317, allocations: 127.7 kB / 486.7 MB, free: 9.656 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004534/0.4322, allocations: 384.9 kB / 487.1 MB, free: 9.281 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4322, allocations: 0 / 487.1 MB, free: 9.281 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002634/0.4325, allocations: 43.94 kB / 487.2 MB, free: 9.238 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.0001548/0.4326, allocations: 115 kB / 487.3 MB, free: 9.117 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004822/0.4331, allocations: 449.5 kB / 487.7 MB, free: 8.629 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4331, allocations: 0 / 487.7 MB, free: 8.629 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003094/0.4335, allocations: 385.5 kB / 488.1 MB, free: 8.203 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.4339, allocations: 102.6 kB / 488.2 MB, free: 8.102 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008416/0.4348, allocations: 0.5427 MB / 488.7 MB, free: 7.527 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.4353, allocations: 0.8104 MB / 489.5 MB, free: 6.688 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.659e-05/0.4353, allocations: 4.672 kB / 489.5 MB, free: 6.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.4353, allocations: 11.44 kB / 489.5 MB, free: 6.668 MB / 362.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4353, allocations: 0 / 489.5 MB, free: 6.668 MB / 362.7 MB Notification: Performance of Templates: time 0.008239/0.4436, allocations: 5.764 MB / 495.3 MB, free: 0.8398 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches