Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 81.66 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 151 kB / 23.94 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 173.3 MB / 200.4 MB, free: 12.86 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.833e-05/4.054e-05, allocations: 3.562 kB / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003108/0.003148, allocations: 1.47 MB / 320.4 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.005287, allocations: 0.8052 MB / 321.2 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.893e-05/0.005356, allocations: 0.9688 kB / 321.2 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.005467, allocations: 12.2 kB / 321.2 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.341e-05/0.00556, allocations: 20.75 kB / 321.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.005852, allocations: 57.78 kB / 321.3 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.006088, allocations: 140.1 kB / 321.4 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.006195, allocations: 15.88 kB / 321.4 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005945/0.006789, allocations: 422.7 kB / 321.9 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.006932, allocations: 55.02 kB / 321.9 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.355e-05/0.006986, allocations: 9.062 kB / 321.9 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.055e-05/0.007026, allocations: 10.19 kB / 321.9 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.007145, allocations: 66.31 kB / 322 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.007261, allocations: 60.62 kB / 322 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005379/0.007799, allocations: 364.4 kB / 322.4 MB, free: 1.629 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.007804, allocations: 0.6094 kB / 322.4 MB, free: 1.629 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.007806, allocations: 0.8438 kB / 322.4 MB, free: 1.629 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.007815, allocations: 3.938 kB / 322.4 MB, free: 1.625 MB / 286.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.0008299/0.008644, allocations: 0.6492 MB / 323.1 MB, free: 1.051 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.008698, allocations: 10.7 kB / 323.1 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.008798, allocations: 43.27 kB / 323.1 MB, free: 1.027 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.009109, allocations: 217.4 kB / 323.3 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.009137, allocations: 9.25 kB / 323.3 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.009167, allocations: 7.5 kB / 323.3 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.009572, allocations: 241.1 kB / 323.6 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.009584, allocations: 192 / 323.6 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.009608, allocations: 5.203 kB / 323.6 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.009615, allocations: 5.156 kB / 323.6 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/0.009844, allocations: 179.9 kB / 323.8 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006265/0.01047, allocations: 393.5 kB / 324.1 MB, free: 200 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.01068, allocations: 190.5 kB / 324.3 MB, free: 24 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.01093, allocations: 180.7 kB / 324.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.01095, allocations: 5.312 kB / 324.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004654/0.01141, allocations: 327.6 kB / 324.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.01142, allocations: 0 / 324.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001113/0.01253, allocations: 0.6947 MB / 325.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/0.01268, allocations: 168.3 kB / 325.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008192/0.0135, allocations: 0.521 MB / 326.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.01353, allocations: 30.67 kB / 326.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.01364, allocations: 105 kB / 326.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.839e-05/0.01369, allocations: 27.89 kB / 326.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.01383, allocations: 80.78 kB / 326.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.01401, allocations: 322.8 kB / 326.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.01424, allocations: 174.5 kB / 326.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.01454, allocations: 193.6 kB / 327.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005603/0.0151, allocations: 361.1 kB / 327.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.0151, allocations: 0 / 327.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008714/0.01598, allocations: 0.5037 MB / 328 MB, free: 13.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.01612, allocations: 123.3 kB / 328.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.01613, allocations: 5.078 kB / 328.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.01615, allocations: 1.094 kB / 328.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.858e-05/0.01618, allocations: 5.781 kB / 328.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.01619, allocations: 1.547 kB / 328.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.01634, allocations: 15.58 kB / 328.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.636e-05/0.01641, allocations: 40.05 kB / 328.2 MB, free: 12.93 MB / 302.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.0004606/0.01688, allocations: 365.6 kB / 328.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.285e-05/0.01694, allocations: 43.8 kB / 328.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/0.01711, allocations: 69.22 kB / 328.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.01711, allocations: 0 / 328.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.01712, allocations: 5.734 kB / 328.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01713, allocations: 0 / 328.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.01839, allocations: 0.8647 MB / 329.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-06/0.0184, allocations: 1.766 kB / 329.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-06/0.0184, allocations: 0 / 329.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.01841, allocations: 1.156 kB / 329.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.01844, allocations: 11.67 kB / 329.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.01844, allocations: 9.688 kB / 329.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01844, allocations: 0 / 329.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000844/0.01929, allocations: 0.6574 MB / 330.2 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004068/0.01969, allocations: 210.4 kB / 330.4 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.385e-05/0.01976, allocations: 8.203 kB / 330.4 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.0199, allocations: 15.59 kB / 330.4 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.02002, allocations: 21.44 kB / 330.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.657e-05/0.02009, allocations: 45.84 kB / 330.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006317/0.02072, allocations: 387.1 kB / 330.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.02072, allocations: 1.031 kB / 330.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000304/0.02103, allocations: 42.09 kB / 330.9 MB, free: 11.06 MB / 302.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.000178/0.02121, allocations: 119.4 kB / 331 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007699/0.02198, allocations: 0.615 MB / 331.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.02198, allocations: 0 / 331.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004306/0.02241, allocations: 426.2 kB / 332.1 MB, free: 9.973 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006985/0.02311, allocations: 132.6 kB / 332.2 MB, free: 9.941 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.02463, allocations: 0.772 MB / 333 MB, free: 9.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.02493, allocations: 199.9 kB / 333.1 MB, free: 9.309 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.39e-05/0.02501, allocations: 14.52 kB / 333.2 MB, free: 9.297 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.02503, allocations: 12.44 kB / 333.2 MB, free: 9.289 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.02503, allocations: 0 / 333.2 MB, free: 9.289 MB / 302.1 MB Notification: Performance of Templates: time 0.01005/0.03508, allocations: 4.914 MB / 338.1 MB, free: 7.133 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.457174018025398]