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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 80.8 kB / 22.29 MB, free: 2.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 170.3 kB / 25.69 MB, free: 8.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9794/0.9794, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,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=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.64e-05, allocations: 2.312 kB / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003147/0.003173, allocations: 1.569 MB / 253.1 MB, free: 5.641 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.005368, allocations: 0.8701 MB / 254 MB, free: 4.762 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.323e-05/0.005451, allocations: 0 / 254 MB, free: 4.762 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.005563, allocations: 15.86 kB / 254 MB, free: 4.746 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.00567, allocations: 15.86 kB / 254 MB, free: 4.73 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.005979, allocations: 59.8 kB / 254.1 MB, free: 4.672 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.006201, allocations: 135.7 kB / 254.2 MB, free: 4.539 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.36e-05/0.006294, allocations: 15.98 kB / 254.2 MB, free: 4.523 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005333/0.006828, allocations: 391.2 kB / 254.6 MB, free: 4.141 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.006971, allocations: 59.83 kB / 254.7 MB, free: 4.082 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.882e-05/0.00701, allocations: 8 kB / 254.7 MB, free: 4.074 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.818e-05/0.007038, allocations: 12 kB / 254.7 MB, free: 4.062 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.786e-05/0.007126, allocations: 67.7 kB / 254.8 MB, free: 3.996 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.579e-05/0.007212, allocations: 59.73 kB / 254.8 MB, free: 3.938 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.007523, allocations: 259.1 kB / 255.1 MB, free: 3.684 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.007527, allocations: 4 kB / 255.1 MB, free: 3.68 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.00753, allocations: 4 kB / 255.1 MB, free: 3.676 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.007535, allocations: 0 / 255.1 MB, free: 3.676 MB / 234.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.0006575/0.008192, allocations: 0.6264 MB / 255.7 MB, free: 3 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.008236, allocations: 11.98 kB / 255.7 MB, free: 2.988 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.147e-05/0.008307, allocations: 28.91 kB / 255.8 MB, free: 2.961 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.00861, allocations: 212.1 kB / 256 MB, free: 2.727 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.008641, allocations: 4.375 kB / 256 MB, free: 2.723 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.008662, allocations: 12.36 kB / 256 MB, free: 2.711 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.008945, allocations: 229.6 kB / 256.2 MB, free: 2.453 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.008952, allocations: 192 / 256.2 MB, free: 2.453 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.008966, allocations: 8.375 kB / 256.2 MB, free: 2.445 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.008973, allocations: 3.938 kB / 256.2 MB, free: 2.441 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.69e-05/0.009059, allocations: 150.8 kB / 256.4 MB, free: 2.27 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.009372, allocations: 216.1 kB / 256.6 MB, free: 2.043 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.009502, allocations: 165.4 kB / 256.7 MB, free: 1.844 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.025e-05/0.009582, allocations: 155.7 kB / 256.9 MB, free: 1.664 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.00959, allocations: 7.984 kB / 256.9 MB, free: 1.656 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.009767, allocations: 305.4 kB / 257.2 MB, free: 1.309 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.009768, allocations: 0 / 257.2 MB, free: 1.309 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003198/0.01009, allocations: 0.5059 MB / 257.7 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.01014, allocations: 174.2 kB / 257.9 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.01045, allocations: 363.1 kB / 258.2 MB, free: 152 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.01047, allocations: 33.7 kB / 258.3 MB, free: 112 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.0105, allocations: 93.11 kB / 258.4 MB, free: 16 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.01054, allocations: 27.91 kB / 258.4 MB, free: 15.98 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.477e-05/0.01062, allocations: 81.48 kB / 258.5 MB, free: 15.9 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.435e-05/0.01071, allocations: 322.8 kB / 258.8 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.42e-05/0.01079, allocations: 150.8 kB / 258.9 MB, free: 15.4 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.354e-05/0.01087, allocations: 164.5 kB / 259.1 MB, free: 15.21 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.01102, allocations: 315.1 kB / 259.4 MB, free: 14.85 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01103, allocations: 4 kB / 259.4 MB, free: 14.85 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002066/0.01123, allocations: 355.2 kB / 259.7 MB, free: 14.45 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.369e-05/0.01131, allocations: 126.5 kB / 259.9 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.01131, allocations: 4.094 kB / 259.9 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.01133, allocations: 3.938 kB / 259.9 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.539e-05/0.01135, allocations: 8.031 kB / 259.9 MB, free: 14.29 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.01136, allocations: 4 kB / 259.9 MB, free: 14.28 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.01147, allocations: 11.94 kB / 259.9 MB, free: 14.27 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.842e-05/0.01152, allocations: 36 kB / 259.9 MB, free: 14.23 MB / 250.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,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.0002341/0.01176, allocations: 345.5 kB / 260.3 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.01179, allocations: 39.91 kB / 260.3 MB, free: 13.82 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.32e-05/0.01187, allocations: 55.08 kB / 260.4 MB, free: 13.77 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01188, allocations: 4 kB / 260.4 MB, free: 13.76 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01188, allocations: 0 / 260.4 MB, free: 13.76 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.01188, allocations: 0 / 260.4 MB, free: 13.76 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.01227, allocations: 0.5939 MB / 261 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01227, allocations: 0 / 261 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-06/0.01227, allocations: 3.938 kB / 261 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01227, allocations: 0 / 261 MB, free: 13.09 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.01229, allocations: 11.98 kB / 261 MB, free: 13.08 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.01229, allocations: 0 / 261 MB, free: 13.08 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.0123, allocations: 0 / 261 MB, free: 13.08 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.01253, allocations: 493 kB / 261.5 MB, free: 12.53 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.01271, allocations: 139.4 kB / 261.6 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.01274, allocations: 12 kB / 261.6 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.108e-05/0.01281, allocations: 19.92 kB / 261.6 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.01287, allocations: 19.98 kB / 261.6 MB, free: 12.34 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.0129, allocations: 39.92 kB / 261.7 MB, free: 12.3 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001571/0.01305, allocations: 156.6 kB / 261.8 MB, free: 12.15 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01305, allocations: 0 / 261.8 MB, free: 12.15 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001487/0.0132, allocations: 47.94 kB / 261.9 MB, free: 12.11 MB / 250.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.913e-05/0.0133, allocations: 92.2 kB / 262 MB, free: 12.01 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003145/0.01362, allocations: 0.5622 MB / 262.5 MB, free: 11.35 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.01362, allocations: 4.062 kB / 262.5 MB, free: 11.34 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.01378, allocations: 415.9 kB / 262.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.01414, allocations: 129.7 kB / 263.1 MB, free: 10.74 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006786/0.01482, allocations: 0.7332 MB / 263.8 MB, free: 9.957 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.762e-05/0.01489, allocations: 95.27 kB / 263.9 MB, free: 9.844 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.557e-05/0.01491, allocations: 8.719 kB / 263.9 MB, free: 9.832 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.01513, allocations: 159.7 kB / 264.1 MB, free: 9.676 MB / 250.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01513, allocations: 0 / 264.1 MB, free: 9.676 MB / 250.7 MB Notification: Performance of Templates: time 0.005673/0.0208, allocations: 4.432 MB / 268.5 MB, free: 5.215 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.720058851875365]