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.001591/0.001591, allocations: 107 kB / 21.18 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.00178/0.00178, allocations: 213.3 kB / 24.48 MB, free: 3.941 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.448/1.448, allocations: 230.6 MB / 258.2 MB, free: 7.734 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.001594/0.001594, allocations: 47.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2127, allocations: 53.36 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005015/0.2177, allocations: 3.405 MB / 435.7 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.2201, allocations: 1.394 MB / 437.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.2202, allocations: 8 kB / 437.1 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001772/0.222, allocations: 0.6992 MB / 437.8 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008634/0.2229, allocations: 382.1 kB / 438.2 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.224, allocations: 0.5208 MB / 438.7 MB, free: 316 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004967/0.2245, allocations: 458 kB / 439.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000572/0.225, allocations: 365.7 kB / 439.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003173/0.2253, allocations: 215.2 kB / 439.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00032/0.2257, allocations: 267 kB / 440 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.262e-05/0.2257, allocations: 44 kB / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003713/0.2261, allocations: 211.8 kB / 440.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.876e-05/0.2262, allocations: 99.61 kB / 440.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.2264, allocations: 195 kB / 440.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008188/0.2272, allocations: 0.6849 MB / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2272, allocations: 0 / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2272, allocations: 0 / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.2272, allocations: 0 / 441.2 MB, free: 13.8 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.002164/0.2294, allocations: 0.8509 MB / 442.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.2294, allocations: 8.031 kB / 442.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003845/0.2332, allocations: 476.1 kB / 442.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.2337, allocations: 253.8 kB / 442.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.09e-05/0.2337, allocations: 41.69 kB / 442.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.657e-05/0.2338, allocations: 56.38 kB / 442.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.2348, allocations: 0.5432 MB / 443.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.2349, allocations: 0 / 443.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-05/0.2349, allocations: 20 kB / 443.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.2349, allocations: 16 kB / 443.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.2361, allocations: 0.5673 MB / 444 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002806/0.2389, allocations: 1.496 MB / 445.5 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.2405, allocations: 0.5634 MB / 446.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003619/0.2409, allocations: 186.1 kB / 446.3 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.162e-05/0.241, allocations: 24.42 kB / 446.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.241, allocations: 42.94 kB / 446.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.724e-06/0.241, allocations: 0 / 446.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.00206/0.2431, allocations: 0.7026 MB / 447 MB, free: 7.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.2431, allocations: 59.83 kB / 447.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.2433, allocations: 178.1 kB / 447.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/0.2433, allocations: 37.7 kB / 447.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.2435, allocations: 225 kB / 447.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.2436, allocations: 162.5 kB / 447.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.2438, allocations: 90.14 kB / 447.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.2439, allocations: 338.8 kB / 448.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.2443, allocations: 156.9 kB / 448.3 MB, free: 6.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/0.2446, allocations: 220.2 kB / 448.5 MB, free: 6.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007305/0.2454, allocations: 407.4 kB / 448.9 MB, free: 5.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2454, allocations: 0 / 448.9 MB, free: 5.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001129/0.2465, allocations: 0.5317 MB / 449.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2465, allocations: 8 kB / 449.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.2465, allocations: 3.984 kB / 449.4 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003961/0.2469, allocations: 96.88 kB / 449.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.2473, allocations: 91.88 kB / 449.6 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.2495, allocations: 1.895 MB / 451.5 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.2498, allocations: 43.72 kB / 451.5 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.2498, allocations: 16 kB / 451.6 MB, free: 3.09 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.0001899/0.25, allocations: 169.7 kB / 451.7 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-05/0.2501, allocations: 27.81 kB / 451.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.2513, allocations: 0.5466 MB / 452.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.2513, allocations: 8 kB / 452.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2513, allocations: 8 kB / 452.3 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.2513, allocations: 0 / 452.3 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.253, allocations: 0.9667 MB / 453.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.253, allocations: 4 kB / 453.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003693/0.2534, allocations: 75.91 kB / 453.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003001/0.2537, allocations: 84.8 kB / 453.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.2537, allocations: 12 kB / 453.5 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.2558, allocations: 1.899 MB / 455.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2558, allocations: 0 / 455.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.2572, allocations: 0.7933 MB / 456.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-05/0.2573, allocations: 31.72 kB / 456.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.2573, allocations: 12 kB / 456.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.2576, allocations: 19.98 kB / 456.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.465e-05/0.2577, allocations: 40.3 kB / 456.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.2577, allocations: 11.94 kB / 456.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001069/0.2578, allocations: 128.1 kB / 456.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2578, allocations: 0 / 456.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005878/0.2584, allocations: 151.7 kB / 456.5 MB, free: 13.93 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.0002361/0.2587, allocations: 143.1 kB / 456.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.2597, allocations: 0.5386 MB / 457.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2597, allocations: 0 / 457.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000608/0.2604, allocations: 361.4 kB / 457.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.2607, allocations: 28 kB / 457.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.2621, allocations: 0.8177 MB / 458.4 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.2623, allocations: 200.8 kB / 458.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001918/0.2625, allocations: 46.95 kB / 458.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.2626, allocations: 35.42 kB / 458.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2626, allocations: 192 / 458.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of Templates: time 0.01029/0.2729, allocations: 4.882 MB / 463.6 MB, free: 6.863 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/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.44307126700005]