Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001317/0.001317, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 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.001418/0.001418, allocations: 214.1 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 258.2 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 55.91 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2653, allocations: 53.37 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002748/0.2681, allocations: 1.491 MB / 433.8 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.27, allocations: 0.8304 MB / 434.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.221e-05/0.2701, allocations: 0 / 434.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.792e-05/0.2702, allocations: 15.8 kB / 434.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.399e-05/0.2703, allocations: 23.84 kB / 434.7 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.2706, allocations: 55.88 kB / 434.7 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000223/0.2708, allocations: 135.7 kB / 434.9 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.2709, allocations: 19.98 kB / 434.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004909/0.2714, allocations: 395.2 kB / 435.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.2715, allocations: 75.73 kB / 435.4 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.2716, allocations: 8 kB / 435.4 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.136e-05/0.2716, allocations: 12 kB / 435.4 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.9e-05/0.2717, allocations: 63.7 kB / 435.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.2718, allocations: 79.36 kB / 435.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003834/0.2722, allocations: 365.2 kB / 435.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2722, allocations: 0 / 435.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2722, allocations: 0 / 435.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.2722, allocations: 4 kB / 435.9 MB, free: 3.152 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.000846/0.273, allocations: 0.6591 MB / 436.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.2731, allocations: 15.97 kB / 436.5 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.972e-05/0.2732, allocations: 36.7 kB / 436.6 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.2736, allocations: 220.8 kB / 436.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.2736, allocations: 4.375 kB / 436.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.2736, allocations: 12.31 kB / 436.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005203/0.2741, allocations: 240.7 kB / 437.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2741, allocations: 0 / 437.1 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.2742, allocations: 12 kB / 437.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.2742, allocations: 4 kB / 437.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002456/0.2744, allocations: 178.8 kB / 437.2 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007559/0.2752, allocations: 392.1 kB / 437.6 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.2755, allocations: 189.3 kB / 437.8 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.2757, allocations: 175.7 kB / 438 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.233e-06/0.2757, allocations: 0 / 438 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004465/0.2761, allocations: 325.5 kB / 438.3 MB, free: 460 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.2762, allocations: 3.938 kB / 438.3 MB, free: 456 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001041/0.2772, allocations: 0.6968 MB / 439 MB, free: 15.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.2773, allocations: 170.2 kB / 439.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006665/0.278, allocations: 0.5168 MB / 439.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/0.278, allocations: 33.69 kB / 439.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.2781, allocations: 97.14 kB / 439.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.627e-05/0.2781, allocations: 31.78 kB / 439.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.2783, allocations: 81.52 kB / 439.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.2784, allocations: 322.8 kB / 440.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.2786, allocations: 178.8 kB / 440.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.2789, allocations: 188.5 kB / 440.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003845/0.2792, allocations: 351.2 kB / 440.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2793, allocations: 4 kB / 440.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006803/0.2799, allocations: 0.4992 MB / 441.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.955e-05/0.28, allocations: 122.8 kB / 441.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.28, allocations: 0 / 441.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.2801, allocations: 4 kB / 441.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.064e-05/0.2801, allocations: 0 / 441.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.2801, allocations: 3.984 kB / 441.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.2802, allocations: 11.95 kB / 441.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.022e-05/0.2803, allocations: 40 kB / 441.6 MB, free: 12.79 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.0003913/0.2807, allocations: 378.2 kB / 442 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.2807, allocations: 39.77 kB / 442 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.2809, allocations: 67.09 kB / 442.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2809, allocations: 0 / 442.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2809, allocations: 0 / 442.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2809, allocations: 0 / 442.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.282, allocations: 0.8588 MB / 443 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.282, allocations: 0 / 443 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.02e-06/0.282, allocations: 0 / 443 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.282, allocations: 0 / 443 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.282, allocations: 8.188 kB / 443 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.282, allocations: 8 kB / 443 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.282, allocations: 11.92 kB / 443 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007687/0.2828, allocations: 0.6438 MB / 443.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004026/0.2832, allocations: 205.3 kB / 443.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.751e-05/0.2832, allocations: 12 kB / 443.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.2834, allocations: 8 kB / 443.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.2835, allocations: 27.97 kB / 443.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.678e-05/0.2836, allocations: 47.86 kB / 443.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004901/0.284, allocations: 386.9 kB / 444.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.284, allocations: 0 / 444.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003068/0.2843, allocations: 51.94 kB / 444.3 MB, free: 9.879 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.0001478/0.2845, allocations: 115 kB / 444.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006852/0.2852, allocations: 0.6084 MB / 445.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2852, allocations: 0 / 445.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003802/0.2856, allocations: 424.4 kB / 445.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006308/0.2862, allocations: 126.4 kB / 445.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.2874, allocations: 0.8217 MB / 446.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.2877, allocations: 206.3 kB / 446.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.652e-05/0.2877, allocations: 11.44 kB / 446.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2877, allocations: 3.938 kB / 446.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of Templates: time 0.004714/0.2924, allocations: 2.568 MB / 449.2 MB, free: 4.742 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 7.498584307002602]