Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.0092/0.0092, allocations: 106.8 kB / 21.98 MB, free: 5.223 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.002206/0.002206, allocations: 216.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 259 MB, free: 8.055 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 68.55 kB / 379.8 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2469, allocations: 53.36 MB / 433.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.00268/0.2496, allocations: 1.544 MB / 434.7 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.2515, allocations: 0.8965 MB / 435.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.798e-05/0.2515, allocations: 0 / 435.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.2516, allocations: 15.86 kB / 435.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.131e-05/0.2517, allocations: 23.84 kB / 435.6 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.252, allocations: 51.89 kB / 435.7 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.2522, allocations: 135.7 kB / 435.8 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.544e-05/0.2523, allocations: 15.97 kB / 435.8 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004824/0.2528, allocations: 403.2 kB / 436.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.2529, allocations: 63.7 kB / 436.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.2529, allocations: 12 kB / 436.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.66e-05/0.253, allocations: 8 kB / 436.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.453e-05/0.253, allocations: 67.7 kB / 436.4 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.2532, allocations: 115.2 kB / 436.5 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003704/0.2535, allocations: 363.7 kB / 436.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.2535, allocations: 0 / 436.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2535, allocations: 0 / 436.9 MB, free: 3.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.2536, allocations: 0 / 436.9 MB, free: 3.273 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.0007949/0.2543, allocations: 0.6591 MB / 437.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.2544, allocations: 8.031 kB / 437.5 MB, free: 2.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.464e-05/0.2545, allocations: 40.7 kB / 437.6 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.2547, allocations: 216.8 kB / 437.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.2548, allocations: 12.36 kB / 437.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.2548, allocations: 8.375 kB / 437.8 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.2551, allocations: 129.9 kB / 437.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2551, allocations: 0 / 437.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.2551, allocations: 7.984 kB / 437.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.2551, allocations: 4 kB / 437.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.2553, allocations: 55.97 kB / 438 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006877/0.256, allocations: 423.6 kB / 438.4 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.2561, allocations: 78.48 kB / 438.5 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.2563, allocations: 64.88 kB / 438.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.2563, allocations: 0 / 438.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003475/0.2566, allocations: 194.7 kB / 438.7 MB, free: 1.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.2566, allocations: 0 / 438.7 MB, free: 1.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008109/0.2575, allocations: 479.3 kB / 439.2 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.2576, allocations: 162.2 kB / 439.4 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006571/0.2582, allocations: 0.517 MB / 439.9 MB, free: 12 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.256e-05/0.2583, allocations: 33.64 kB / 439.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.495e-05/0.2584, allocations: 105.1 kB / 440 MB, free: 15.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.887e-05/0.2584, allocations: 27.84 kB / 440 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.2585, allocations: 81.52 kB / 440.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2587, allocations: 326.7 kB / 440.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.2588, allocations: 63.91 kB / 440.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.2589, allocations: 69.69 kB / 440.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/0.2593, allocations: 343.3 kB / 440.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2593, allocations: 0 / 440.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005523/0.2599, allocations: 372.3 kB / 441.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.15e-05/0.26, allocations: 118.8 kB / 441.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.381e-06/0.26, allocations: 4 kB / 441.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.26, allocations: 0 / 441.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.042e-05/0.26, allocations: 4.109 kB / 441.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.26, allocations: 8.031 kB / 441.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.2601, allocations: 19.95 kB / 441.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.443e-05/0.2602, allocations: 39.98 kB / 441.5 MB, free: 14.29 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.0003698/0.2606, allocations: 370.2 kB / 441.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.739e-05/0.2606, allocations: 35.81 kB / 441.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.2607, allocations: 63.09 kB / 441.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2607, allocations: 0 / 441.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2607, allocations: 0 / 441.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.2607, allocations: 7.938 kB / 441.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009879/0.2617, allocations: 0.7851 MB / 442.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2617, allocations: 4 kB / 442.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-06/0.2617, allocations: 0 / 442.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.2617, allocations: 0 / 442.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.2618, allocations: 15.98 kB / 442.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2618, allocations: 0 / 442.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.2618, allocations: 7.938 kB / 442.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006735/0.2624, allocations: 0.5314 MB / 443.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003744/0.2628, allocations: 201.3 kB / 443.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.667e-05/0.2629, allocations: 12 kB / 443.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.263, allocations: 11.98 kB / 443.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-05/0.2631, allocations: 27.92 kB / 443.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/0.2631, allocations: 43.92 kB / 443.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004998/0.2636, allocations: 386.9 kB / 443.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2636, allocations: 0 / 443.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.2639, allocations: 44 kB / 444 MB, free: 11.62 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.0001442/0.2641, allocations: 119.1 kB / 444.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005169/0.2646, allocations: 377.5 kB / 444.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2646, allocations: 0 / 444.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003029/0.2649, allocations: 297.6 kB / 444.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000573/0.2655, allocations: 126.6 kB / 444.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.2666, allocations: 0.7134 MB / 445.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.2671, allocations: 0.7944 MB / 446.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.2671, allocations: 15.44 kB / 446.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2671, allocations: 0 / 446.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of Templates: time 0.005931/0.273, allocations: 2.553 MB / 448.9 MB, free: 6.469 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.724921395769343]