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.001473/0.001473, allocations: 183 kB / 18.04 MB, free: 3.781 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.465/1.465, allocations: 205.4 MB / 224.2 MB, free: 8.934 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.0007761/0.0007761, allocations: 93.17 kB / 272.5 MB, free: 8.23 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003016, allocations: 12 kB / 329.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2129, allocations: 47.57 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.3336, allocations: 81.95 MB / 459 MB, free: 14.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.3339, allocations: 67.97 kB / 459 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08072/0.4147, allocations: 27.88 MB / 486.9 MB, free: 2.695 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4147, allocations: 0 / 486.9 MB, free: 2.695 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.4148, allocations: 4 kB / 486.9 MB, free: 2.691 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.0009377/0.4157, allocations: 0.6802 MB / 487.6 MB, free: 1.934 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.4158, allocations: 8.031 kB / 487.6 MB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.4159, allocations: 36.56 kB / 487.6 MB, free: 1.891 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.4163, allocations: 278.3 kB / 487.9 MB, free: 1.582 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.4164, allocations: 8.359 kB / 487.9 MB, free: 1.574 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.4164, allocations: 8.375 kB / 487.9 MB, free: 1.566 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004435/0.4169, allocations: 150.1 kB / 488.1 MB, free: 1.414 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.4169, allocations: 192 / 488.1 MB, free: 1.414 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.441e-05/0.417, allocations: 11.92 kB / 488.1 MB, free: 1.402 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.417, allocations: 7.938 kB / 488.1 MB, free: 1.395 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.4172, allocations: 59.97 kB / 488.2 MB, free: 1.336 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009983/0.4182, allocations: 480.4 kB / 488.6 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.4185, allocations: 102.5 kB / 488.7 MB, free: 0.707 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/0.4188, allocations: 92.88 kB / 488.8 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.4188, allocations: 0 / 488.8 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004354/0.4192, allocations: 230.6 kB / 489 MB, free: 372 kB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.224e-06/0.4193, allocations: 0 / 489 MB, free: 372 kB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.001316/0.4206, allocations: 0.5271 MB / 489.6 MB, free: 15.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.4207, allocations: 170.2 kB / 489.7 MB, free: 15.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.4217, allocations: 0.513 MB / 490.2 MB, free: 15.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/0.4218, allocations: 29.7 kB / 490.3 MB, free: 15.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.022e-05/0.4219, allocations: 101.1 kB / 490.4 MB, free: 14.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.258e-05/0.422, allocations: 31.69 kB / 490.4 MB, free: 14.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.422, allocations: 4 kB / 490.4 MB, free: 14.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4222, allocations: 326.8 kB / 490.7 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.4224, allocations: 59.97 kB / 490.8 MB, free: 14.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.4226, allocations: 85.33 kB / 490.9 MB, free: 14.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005352/0.4232, allocations: 371.2 kB / 491.2 MB, free: 14.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4232, allocations: 0 / 491.2 MB, free: 14.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009314/0.4241, allocations: 440.5 kB / 491.7 MB, free: 13.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.4242, allocations: 130.8 kB / 491.8 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4243, allocations: 0 / 491.8 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.4243, allocations: 0 / 491.8 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.398e-05/0.4243, allocations: 7.938 kB / 491.8 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.4243, allocations: 128 / 491.8 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.4246, allocations: 19.98 kB / 491.8 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/0.4248, allocations: 127.8 kB / 491.9 MB, free: 13.25 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.0005078/0.4253, allocations: 363.1 kB / 492.3 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.615e-05/0.4254, allocations: 47.52 kB / 492.3 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.4255, allocations: 59.16 kB / 492.4 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.4256, allocations: 4 kB / 492.4 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4256, allocations: 0 / 492.4 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4256, allocations: 0 / 492.4 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.4271, allocations: 0.8797 MB / 493.3 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4271, allocations: 0 / 493.3 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.352e-06/0.4272, allocations: 0 / 493.3 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4272, allocations: 0 / 493.3 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.464e-05/0.4272, allocations: 19.98 kB / 493.3 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4272, allocations: 4 kB / 493.3 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4273, allocations: 0 / 493.3 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.4283, allocations: 0.5876 MB / 493.9 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004875/0.4288, allocations: 256.3 kB / 494.1 MB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.69e-05/0.4289, allocations: 8 kB / 494.2 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.4292, allocations: 15.98 kB / 494.2 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.4293, allocations: 39.89 kB / 494.2 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001813/0.4295, allocations: 123.8 kB / 494.3 MB, free: 10.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007456/0.4303, allocations: 386.9 kB / 494.7 MB, free: 10.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4303, allocations: 0 / 494.7 MB, free: 10.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005881/0.4309, allocations: 44 kB / 494.8 MB, free: 10.27 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.0001695/0.4311, allocations: 115 kB / 494.9 MB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007592/0.4318, allocations: 453.6 kB / 495.3 MB, free: 9.652 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.289e-06/0.4319, allocations: 0 / 495.3 MB, free: 9.652 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004824/0.4324, allocations: 393.5 kB / 495.7 MB, free: 9.219 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008996/0.4333, allocations: 103.4 kB / 495.8 MB, free: 9.113 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.4349, allocations: 0.7388 MB / 496.5 MB, free: 8.352 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006039/0.4355, allocations: 0.807 MB / 497.3 MB, free: 7.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.545e-05/0.4356, allocations: 4.672 kB / 497.3 MB, free: 7.512 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.4356, allocations: 7.438 kB / 497.4 MB, free: 7.504 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4357, allocations: 4 kB / 497.4 MB, free: 7.5 MB / 378.7 MB Notification: Performance of Templates: time 0.01293/0.4486, allocations: 5.798 MB / 0.4914 GB, free: 1.637 MB / 378.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/jenkins1/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