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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 110.4 kB / 17.73 MB, free: 5.363 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.001728/0.001728, allocations: 187.1 kB / 18.66 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 51.92 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1472, allocations: 46.62 MB / 375.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.004374/0.1517, allocations: 1.52 MB / 376.7 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002566/0.1543, allocations: 0.9019 MB / 377.6 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.1545, allocations: 0 / 377.6 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.1548, allocations: 7.875 kB / 377.6 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.155, allocations: 19.86 kB / 377.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.1555, allocations: 51.88 kB / 377.6 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003244/0.1558, allocations: 155.7 kB / 377.8 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.156, allocations: 15.98 kB / 377.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000665/0.1566, allocations: 383.3 kB / 378.2 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.1569, allocations: 67.69 kB / 378.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.466e-05/0.1569, allocations: 12 kB / 378.3 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.372e-05/0.157, allocations: 8 kB / 378.3 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.1571, allocations: 67.7 kB / 378.3 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.1573, allocations: 119.2 kB / 378.4 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005231/0.1578, allocations: 362.7 kB / 378.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1579, allocations: 0 / 378.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1579, allocations: 0 / 378.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.1579, allocations: 0 / 378.8 MB, free: 0.9062 MB / 318.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.001364/0.1593, allocations: 0.7189 MB / 379.5 MB, free: 116 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.1593, allocations: 8.031 kB / 379.5 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.1595, allocations: 36.56 kB / 379.6 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2799/0.4394, allocations: 274.6 kB / 379.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.453e-05/0.4395, allocations: 5.156 kB / 379.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.4396, allocations: 10.5 kB / 379.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004174/0.44, allocations: 123 kB / 380 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.44, allocations: 0 / 380 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.4401, allocations: 6.234 kB / 380 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.4401, allocations: 1.031 kB / 380 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.4402, allocations: 63.89 kB / 380 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.4413, allocations: 459.2 kB / 380.5 MB, free: 13.35 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.4415, allocations: 94.45 kB / 380.6 MB, free: 13.31 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.4417, allocations: 87.12 kB / 380.7 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.4417, allocations: 5.141 kB / 380.7 MB, free: 13.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004412/0.4422, allocations: 210.2 kB / 380.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 3.908e-06/0.4422, allocations: 1.922 kB / 380.9 MB, free: 13.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001092/0.4433, allocations: 464.3 kB / 381.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.4434, allocations: 168.6 kB / 381.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.4446, allocations: 0.5125 MB / 382 MB, free: 12.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.4446, allocations: 31.97 kB / 382 MB, free: 12.38 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.4448, allocations: 96.7 kB / 382.1 MB, free: 12.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.332e-05/0.4448, allocations: 33.55 kB / 382.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.4451, allocations: 85.73 kB / 382.2 MB, free: 12.22 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4452, allocations: 321.8 kB / 382.6 MB, free: 11.9 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.4454, allocations: 56.05 kB / 382.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.4456, allocations: 77.09 kB / 382.7 MB, free: 11.85 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005815/0.4462, allocations: 343.1 kB / 383 MB, free: 11.54 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.4463, allocations: 3.438 kB / 383 MB, free: 11.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009466/0.4472, allocations: 383.4 kB / 383.4 MB, free: 11.31 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.4474, allocations: 123.4 kB / 383.5 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.4474, allocations: 1.078 kB / 383.5 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.374e-05/0.4474, allocations: 4.734 kB / 383.5 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.555e-05/0.4475, allocations: 1.328 kB / 383.5 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.4475, allocations: 1.125 kB / 383.5 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.4478, allocations: 11.58 kB / 383.5 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.4479, allocations: 48.59 kB / 383.6 MB, free: 11.18 MB / 318.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.0005108/0.4484, allocations: 373.3 kB / 384 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.452e-05/0.4485, allocations: 43.95 kB / 384 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.4487, allocations: 61.23 kB / 384.1 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4487, allocations: 1.25 kB / 384.1 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.4487, allocations: 5.281 kB / 384.1 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4487, allocations: 1.219 kB / 384.1 MB, free: 10.81 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.4499, allocations: 0.8097 MB / 384.9 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4499, allocations: 2.188 kB / 384.9 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.094e-06/0.4499, allocations: 0 / 384.9 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.4499, allocations: 2.547 kB / 384.9 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.795e-05/0.45, allocations: 11.69 kB / 384.9 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.45, allocations: 0 / 384.9 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.45, allocations: 1.953 kB / 384.9 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007417/0.4508, allocations: 0.5324 MB / 385.4 MB, free: 9.883 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000402/0.4512, allocations: 249.4 kB / 385.7 MB, free: 9.699 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.804e-05/0.4512, allocations: 7.031 kB / 385.7 MB, free: 9.699 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.4514, allocations: 15.08 kB / 385.7 MB, free: 9.695 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.4516, allocations: 20.94 kB / 385.7 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.238e-05/0.4517, allocations: 48.33 kB / 385.8 MB, free: 9.684 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006875/0.4524, allocations: 391.9 kB / 386.1 MB, free: 9.477 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4524, allocations: 0 / 386.1 MB, free: 9.477 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003991/0.4528, allocations: 42.06 kB / 386.2 MB, free: 9.477 MB / 318.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.0002416/0.453, allocations: 118.1 kB / 386.3 MB, free: 9.383 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007257/0.4538, allocations: 440.7 kB / 386.7 MB, free: 9.035 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4538, allocations: 1.375 kB / 386.7 MB, free: 9.035 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003321/0.4541, allocations: 375.2 kB / 387.1 MB, free: 8.707 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007559/0.4549, allocations: 131.7 kB / 387.2 MB, free: 8.668 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.4563, allocations: 0.6545 MB / 387.9 MB, free: 8.293 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005115/0.4568, allocations: 0.8039 MB / 388.7 MB, free: 7.555 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.4569, allocations: 9.172 kB / 388.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.457, allocations: 12 kB / 388.7 MB, free: 7.539 MB / 318.1 MB Notification: Performance of SimCode: time 9.61e-07/0.457, allocations: 3.938 kB / 388.7 MB, free: 7.535 MB / 318.1 MB Notification: Performance of Templates: time 0.0127/0.4697, allocations: 4.509 MB / 393.2 MB, free: 7.078 MB / 318.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches