Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.001338/0.001338, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001395/0.001395, allocations: 202.1 kB / 23.73 MB, free: 4.379 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.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 47.92 kB / 378.2 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2496, allocations: 53.37 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005004/0.2546, allocations: 3.403 MB / 435 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002677/0.2572, allocations: 1.393 MB / 436.4 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002049/0.2574, allocations: 12 kB / 436.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001879/0.2593, allocations: 0.6945 MB / 437.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.2603, allocations: 382.1 kB / 437.5 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.2614, allocations: 0.5166 MB / 438 MB, free: 296 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005284/0.2619, allocations: 462 kB / 438.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00058/0.2625, allocations: 365.7 kB / 438.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003257/0.2628, allocations: 215.2 kB / 439 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000345/0.2632, allocations: 267 kB / 439.2 MB, free: 15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.263e-05/0.2633, allocations: 44 kB / 439.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004626/0.2637, allocations: 203.9 kB / 439.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.702e-05/0.2638, allocations: 107.5 kB / 439.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.264, allocations: 191.1 kB / 439.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008507/0.2649, allocations: 0.6889 MB / 440.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.2649, allocations: 0 / 440.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2649, allocations: 3.938 kB / 440.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.2649, allocations: 0 / 440.5 MB, free: 13.77 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.002128/0.267, allocations: 0.8466 MB / 441.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.267, allocations: 16.03 kB / 441.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003649/0.2707, allocations: 464.1 kB / 441.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/0.2712, allocations: 253.8 kB / 442 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.202e-05/0.2712, allocations: 41.69 kB / 442.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.766e-05/0.2713, allocations: 56.38 kB / 442.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.2723, allocations: 0.5432 MB / 442.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.2724, allocations: 0 / 442.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-05/0.2724, allocations: 20 kB / 442.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.2724, allocations: 12 kB / 442.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.2735, allocations: 0.5634 MB / 443.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002835/0.2764, allocations: 1.511 MB / 444.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.2779, allocations: 0.5629 MB / 445.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000346/0.2783, allocations: 182.1 kB / 445.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.271e-05/0.2784, allocations: 24.41 kB / 445.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.2784, allocations: 42.94 kB / 445.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 3.877e-06/0.2784, allocations: 3.984 kB / 445.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002005/0.2804, allocations: 0.7065 MB / 446.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.2805, allocations: 55.84 kB / 446.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.2806, allocations: 178.1 kB / 446.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/0.2807, allocations: 29.7 kB / 446.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.2808, allocations: 221 kB / 446.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.281, allocations: 170.5 kB / 446.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.2811, allocations: 86.14 kB / 447 MB, free: 7.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2813, allocations: 346.8 kB / 447.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.2816, allocations: 152.9 kB / 447.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003742/0.282, allocations: 224.2 kB / 447.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007129/0.2827, allocations: 407.4 kB / 448.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2827, allocations: 0 / 448.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001091/0.2838, allocations: 0.528 MB / 448.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2838, allocations: 7.984 kB / 448.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2838, allocations: 4 kB / 448.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003699/0.2842, allocations: 92.62 kB / 448.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/0.2846, allocations: 95.88 kB / 448.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.2867, allocations: 1.892 MB / 450.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.287, allocations: 47.75 kB / 450.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.2871, allocations: 16 kB / 450.8 MB, free: 3.066 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002072/0.2873, allocations: 173.7 kB / 451 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.106e-05/0.2873, allocations: 27.81 kB / 451 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.2885, allocations: 0.5388 MB / 451.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.2885, allocations: 7.984 kB / 451.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.2886, allocations: 0 / 451.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.2886, allocations: 4 kB / 451.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.2902, allocations: 0.9706 MB / 452.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2902, allocations: 0 / 452.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003661/0.2906, allocations: 79.91 kB / 452.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002974/0.2909, allocations: 88.8 kB / 452.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.2909, allocations: 12 kB / 452.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/0.293, allocations: 1.895 MB / 454.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.293, allocations: 4.062 kB / 454.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.2945, allocations: 0.7854 MB / 455.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.614e-05/0.2945, allocations: 35.72 kB / 455.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.2946, allocations: 8 kB / 455.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.2948, allocations: 24.05 kB / 455.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.2949, allocations: 44.3 kB / 455.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.2949, allocations: 11.94 kB / 455.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.2951, allocations: 124.1 kB / 455.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2951, allocations: 3.938 kB / 455.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006198/0.2957, allocations: 151.7 kB / 455.8 MB, free: 13.91 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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 (42): * Single equations (assignments): 41 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002415/0.2959, allocations: 147.1 kB / 455.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.297, allocations: 0.5385 MB / 456.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.297, allocations: 0 / 456.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005868/0.2976, allocations: 353 kB / 456.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.2979, allocations: 32.38 kB / 456.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.2993, allocations: 0.8146 MB / 457.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.2995, allocations: 204.8 kB / 457.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001665/0.2997, allocations: 42.95 kB / 457.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.896e-05/0.2998, allocations: 35.42 kB / 457.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2998, allocations: 4 kB / 457.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of Templates: time 0.0104/0.3102, allocations: 4.874 MB / 462.8 MB, free: 6.844 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.614475687034428]