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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001298/0.001298, allocations: 109.1 kB / 21.18 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001608/0.001608, allocations: 217.3 kB / 24.49 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 230.5 MB / 258.1 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 63.91 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2615, allocations: 53.41 MB / 432.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002923/0.2644, allocations: 1.537 MB / 434 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.2664, allocations: 0.8926 MB / 434.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.989e-05/0.2664, allocations: 0 / 434.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.2665, allocations: 15.86 kB / 434.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.426e-05/0.2666, allocations: 19.86 kB / 434.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.2669, allocations: 51.88 kB / 435 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.2671, allocations: 135.7 kB / 435.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.295e-05/0.2672, allocations: 19.98 kB / 435.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005055/0.2677, allocations: 399.2 kB / 435.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.2678, allocations: 75.73 kB / 435.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.432e-05/0.2679, allocations: 8 kB / 435.6 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.024e-05/0.2679, allocations: 12 kB / 435.6 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.338e-05/0.268, allocations: 63.7 kB / 435.7 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.2681, allocations: 115.1 kB / 435.8 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003935/0.2685, allocations: 355.8 kB / 436.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2685, allocations: 3.938 kB / 436.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2685, allocations: 0 / 436.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.2685, allocations: 4 kB / 436.1 MB, free: 3.074 MB / 334.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.0007851/0.2693, allocations: 0.6513 MB / 436.8 MB, free: 2.367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.2693, allocations: 8.031 kB / 436.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.404e-05/0.2694, allocations: 40.7 kB / 436.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.2697, allocations: 224.8 kB / 437 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.2697, allocations: 8.375 kB / 437.1 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.2697, allocations: 8.375 kB / 437.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.2701, allocations: 121.9 kB / 437.2 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2701, allocations: 0 / 437.2 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.2701, allocations: 8 kB / 437.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2701, allocations: 0 / 437.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.2702, allocations: 55.97 kB / 437.2 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006995/0.2709, allocations: 439.5 kB / 437.7 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.2711, allocations: 70.55 kB / 437.7 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.2712, allocations: 56.89 kB / 437.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.2713, allocations: 8 kB / 437.8 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003844/0.2716, allocations: 206.6 kB / 438 MB, free: 1.027 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.2716, allocations: 0 / 438 MB, free: 1.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008349/0.2725, allocations: 471.7 kB / 438.5 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.2726, allocations: 170.2 kB / 438.6 MB, free: 344 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007219/0.2733, allocations: 0.513 MB / 439.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.2733, allocations: 25.7 kB / 439.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.099e-05/0.2734, allocations: 105.2 kB / 439.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.2735, allocations: 35.72 kB / 439.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.2736, allocations: 89.5 kB / 439.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.2738, allocations: 326.8 kB / 439.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.2739, allocations: 51.97 kB / 439.8 MB, free: 15.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.274, allocations: 69.69 kB / 439.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003474/0.2744, allocations: 339.3 kB / 440.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2744, allocations: 0 / 440.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005458/0.2749, allocations: 376.3 kB / 440.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001067/0.275, allocations: 126.8 kB / 440.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.275, allocations: 0 / 440.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.275, allocations: 0 / 440.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.069e-05/0.2751, allocations: 0 / 440.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.2751, allocations: 4 kB / 440.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.2752, allocations: 15.94 kB / 440.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.445e-05/0.2753, allocations: 36 kB / 440.7 MB, free: 14.11 MB / 350.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.00037/0.2756, allocations: 374.2 kB / 441.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.866e-05/0.2757, allocations: 35.81 kB / 441.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.2758, allocations: 67.08 kB / 441.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.2758, allocations: 3.984 kB / 441.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2758, allocations: 0 / 441.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2758, allocations: 0 / 441.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.2768, allocations: 0.789 MB / 442 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2768, allocations: 0 / 442 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.629e-06/0.2768, allocations: 4 kB / 442 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2768, allocations: 0 / 442 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.201e-05/0.2769, allocations: 15.98 kB / 442 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2769, allocations: 3.938 kB / 442 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.2769, allocations: 3.938 kB / 442 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000735/0.2776, allocations: 0.5211 MB / 442.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003855/0.278, allocations: 217.2 kB / 442.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.2781, allocations: 8.25 kB / 442.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.2782, allocations: 20 kB / 442.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.2783, allocations: 27.91 kB / 442.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.486e-05/0.2784, allocations: 47.92 kB / 442.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004808/0.2788, allocations: 382.9 kB / 443.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2788, allocations: 0 / 443.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.2791, allocations: 44 kB / 443.2 MB, free: 11.42 MB / 350.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.0001625/0.2793, allocations: 111 kB / 443.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005379/0.2798, allocations: 377.5 kB / 443.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2798, allocations: 0 / 443.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003143/0.2801, allocations: 301.6 kB / 444 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00063/0.2808, allocations: 128.8 kB / 444.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.282, allocations: 0.7056 MB / 444.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.2825, allocations: 0.81 MB / 445.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.2825, allocations: 11.44 kB / 445.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2825, allocations: 0 / 445.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of Templates: time 0.00489/0.2874, allocations: 2.544 MB / 448.2 MB, free: 6.273 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.676271478878334]