Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001953/0.001953, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008146/0.0008147, allocations: 93.48 kB / 286.7 MB, free: 5.301 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.158e-05/2.175e-05, allocations: 4 kB / 343.7 MB, free: 8.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1253, allocations: 51.47 MB / 395.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3373/0.4626, allocations: 82.88 MB / 478 MB, free: 9.875 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001856/0.4629, allocations: 67.41 kB / 478.1 MB, free: 9.852 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0486/0.5115, allocations: 28.31 MB / 0.4946 GB, free: 3.477 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.5115, allocations: 4 kB / 0.4946 GB, free: 3.473 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.5116, allocations: 4 kB / 0.4946 GB, free: 3.469 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.0007154/0.5123, allocations: 0.6172 MB / 0.4952 GB, free: 2.793 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.5123, allocations: 8.031 kB / 0.4952 GB, free: 2.785 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.5124, allocations: 35.62 kB / 0.4952 GB, free: 2.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000365/0.5128, allocations: 255.7 kB / 0.4954 GB, free: 2.461 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.5129, allocations: 4 kB / 0.4955 GB, free: 2.457 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.5129, allocations: 8 kB / 0.4955 GB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001546/0.5131, allocations: 63.92 kB / 0.4955 GB, free: 2.387 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.5133, allocations: 145.5 kB / 0.4957 GB, free: 2.238 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.5133, allocations: 0 / 0.4957 GB, free: 2.238 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.5134, allocations: 4 kB / 0.4957 GB, free: 2.234 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.5134, allocations: 6.812 kB / 0.4957 GB, free: 2.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006816/0.5141, allocations: 450.5 kB / 0.4961 GB, free: 1.777 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.5142, allocations: 106.5 kB / 0.4962 GB, free: 1.664 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.5143, allocations: 80.91 kB / 0.4963 GB, free: 1.582 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.5144, allocations: 0 / 0.4963 GB, free: 1.582 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002578/0.5146, allocations: 226.6 kB / 0.4965 GB, free: 1.336 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.844e-06/0.5146, allocations: 0 / 0.4965 GB, free: 1.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005472/0.5152, allocations: 316.5 kB / 0.4968 GB, free: 1.023 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.694e-05/0.5153, allocations: 170.2 kB / 0.497 GB, free: 0.8203 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005435/0.5159, allocations: 449.5 kB / 0.4974 GB, free: 384 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.5159, allocations: 29.7 kB / 0.4974 GB, free: 348 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/0.516, allocations: 97.45 kB / 0.4975 GB, free: 248 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.516, allocations: 27.64 kB / 0.4975 GB, free: 220 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.516, allocations: 4 kB / 0.4975 GB, free: 216 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5162, allocations: 322.8 kB / 0.4978 GB, free: 15.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.837e-05/0.5163, allocations: 59.98 kB / 0.4979 GB, free: 15.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.764e-05/0.5164, allocations: 55.97 kB / 0.498 GB, free: 15.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.345e-05/0.5165, allocations: 58.08 kB / 0.498 GB, free: 15.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5165, allocations: 0 / 0.498 GB, free: 15.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004246/0.5169, allocations: 293.3 kB / 0.4983 GB, free: 15.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.32e-05/0.517, allocations: 122.8 kB / 0.4984 GB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.517, allocations: 0 / 0.4984 GB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.517, allocations: 0 / 0.4984 GB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.694e-05/0.5171, allocations: 0 / 0.4984 GB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.5171, allocations: 3.984 kB / 0.4984 GB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.5172, allocations: 15.94 kB / 0.4984 GB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.5173, allocations: 123.9 kB / 0.4985 GB, free: 15.14 MB / 378.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.0001839/0.5175, allocations: 245.5 kB / 0.4988 GB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-05/0.5176, allocations: 43.48 kB / 0.4988 GB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.5177, allocations: 67.42 kB / 0.4989 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5177, allocations: 2.062 kB / 0.4989 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5177, allocations: 0 / 0.4989 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5177, allocations: 0 / 0.4989 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008068/0.5186, allocations: 0.6707 MB / 0.4995 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5186, allocations: 4 kB / 0.4995 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.033e-06/0.5186, allocations: 3.953 kB / 0.4996 GB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.5186, allocations: 0 / 0.4996 GB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.5186, allocations: 27.97 kB / 0.4996 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.5186, allocations: 3.938 kB / 0.4996 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.5187, allocations: 7.938 kB / 0.4996 GB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005166/0.5192, allocations: 427.2 kB / 0.5 GB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003345/0.5195, allocations: 252.4 kB / 0.5002 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.769e-05/0.5196, allocations: 15.95 kB / 0.5003 GB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.5198, allocations: 15.98 kB / 0.5003 GB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.5199, allocations: 27.97 kB / 0.5003 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.52, allocations: 128 kB / 0.5004 GB, free: 13.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004199/0.5204, allocations: 370.7 kB / 0.5008 GB, free: 12.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5204, allocations: 0 / 0.5008 GB, free: 12.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002927/0.5207, allocations: 40 kB / 0.5008 GB, free: 12.71 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) * 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.0001562/0.5209, allocations: 119.2 kB / 0.5009 GB, free: 12.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004573/0.5214, allocations: 437.4 kB / 0.5013 GB, free: 12.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5214, allocations: 0 / 0.5013 GB, free: 12.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.5217, allocations: 371.5 kB / 0.5017 GB, free: 11.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/0.5222, allocations: 101.3 kB / 0.5018 GB, free: 11.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008547/0.5231, allocations: 0.5227 MB / 0.5023 GB, free: 11.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.5235, allocations: 0.8178 MB / 0.5031 GB, free: 10.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.064e-05/0.5236, allocations: 4.672 kB / 0.5031 GB, free: 10.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.5236, allocations: 11.44 kB / 0.5031 GB, free: 10.2 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5236, allocations: 0 / 0.5031 GB, free: 10.2 MB / 378.7 MB Notification: Performance of Templates: time 0.008465/0.5321, allocations: 5.595 MB / 0.5086 GB, free: 4.566 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches