Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.001348/0.001348, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001458/0.001458, allocations: 216.6 kB / 23.73 MB, free: 4.156 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.438/1.438, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 51.86 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2399, allocations: 53.36 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005086/0.245, allocations: 3.411 MB / 435 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002549/0.2476, allocations: 1.394 MB / 436.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.2477, allocations: 12 kB / 436.4 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.2495, allocations: 0.6922 MB / 437.1 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009271/0.2505, allocations: 389.7 kB / 437.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.2516, allocations: 0.5162 MB / 438 MB, free: 308 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005262/0.2521, allocations: 466 kB / 438.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007063/0.2528, allocations: 422 kB / 438.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003392/0.2531, allocations: 227.2 kB / 439.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000324/0.2535, allocations: 231 kB / 439.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.933e-05/0.2535, allocations: 51.94 kB / 439.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004144/0.2539, allocations: 203.9 kB / 439.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.2541, allocations: 107.6 kB / 439.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001992/0.2543, allocations: 199 kB / 439.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009095/0.2552, allocations: 0.6991 MB / 440.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2552, allocations: 3.984 kB / 440.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2552, allocations: 7.938 kB / 440.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.2552, allocations: 0 / 440.6 MB, free: 13.71 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.00214/0.2573, allocations: 0.8549 MB / 441.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.2573, allocations: 8.031 kB / 441.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003518/0.2609, allocations: 476.1 kB / 441.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005256/0.2614, allocations: 257.8 kB / 442.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/0.2614, allocations: 37.69 kB / 442.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.951e-05/0.2615, allocations: 52.38 kB / 442.2 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.2626, allocations: 0.5549 MB / 442.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.2626, allocations: 4 kB / 442.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.447e-05/0.2627, allocations: 20 kB / 442.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.2627, allocations: 16 kB / 442.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.2638, allocations: 0.5712 MB / 443.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002931/0.2668, allocations: 1.513 MB / 444.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.2683, allocations: 0.5429 MB / 445.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004725/0.2687, allocations: 232.6 kB / 445.7 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.8e-05/0.2688, allocations: 20.42 kB / 445.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.479e-05/0.2689, allocations: 42.94 kB / 445.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.033e-06/0.2689, allocations: 0 / 445.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001828/0.2707, allocations: 0.6713 MB / 446.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.2707, allocations: 55.84 kB / 446.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.2709, allocations: 170.1 kB / 446.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.2709, allocations: 37.7 kB / 446.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.2711, allocations: 225 kB / 446.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.2712, allocations: 166.5 kB / 447 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.2714, allocations: 90.14 kB / 447.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2715, allocations: 330.8 kB / 447.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/0.2719, allocations: 156.9 kB / 447.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/0.2723, allocations: 241.9 kB / 447.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007258/0.273, allocations: 412.9 kB / 448.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.273, allocations: 0 / 448.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001092/0.2741, allocations: 0.5397 MB / 448.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2741, allocations: 8 kB / 448.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2741, allocations: 0 / 448.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003461/0.2745, allocations: 84.78 kB / 448.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/0.2749, allocations: 99.81 kB / 449 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/0.2768, allocations: 1.636 MB / 450.6 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.277, allocations: 47.66 kB / 450.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/0.2771, allocations: 20 kB / 450.7 MB, free: 3.215 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002157/0.2773, allocations: 173.7 kB / 450.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.355e-05/0.2774, allocations: 23.86 kB / 450.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.2785, allocations: 0.5348 MB / 451.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.2785, allocations: 8 kB / 451.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2785, allocations: 0 / 451.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.2785, allocations: 0 / 451.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/0.2803, allocations: 0.9877 MB / 452.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2803, allocations: 0 / 452.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000343/0.2806, allocations: 83.89 kB / 452.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002778/0.2809, allocations: 76.75 kB / 452.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/0.2809, allocations: 16.05 kB / 452.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/0.2828, allocations: 1.628 MB / 454.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2828, allocations: 0 / 454.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.2842, allocations: 0.8069 MB / 455 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.2843, allocations: 35.69 kB / 455 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.2843, allocations: 12 kB / 455.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.2845, allocations: 15.98 kB / 455.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.76e-05/0.2846, allocations: 40.38 kB / 455.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.2846, allocations: 11.98 kB / 455.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.2848, allocations: 128.2 kB / 455.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2848, allocations: 4 kB / 455.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005157/0.2853, allocations: 143.7 kB / 455.4 MB, free: 14.31 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002412/0.2855, allocations: 147 kB / 455.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.2866, allocations: 0.5351 MB / 456.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2866, allocations: 128 / 456.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006121/0.2872, allocations: 361 kB / 456.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.2876, allocations: 31.84 kB / 456.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.2889, allocations: 0.8281 MB / 457.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.2892, allocations: 208.7 kB / 457.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001758/0.2893, allocations: 46.95 kB / 457.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.282e-05/0.2894, allocations: 39.42 kB / 457.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2894, allocations: 0 / 457.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of Templates: time 0.009824/0.2992, allocations: 4.688 MB / 462.3 MB, free: 7.391 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.520970966666937]