Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.00179/0.00179, allocations: 105.1 kB / 21.23 MB, free: 0.5039 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.002356/0.002356, allocations: 209.9 kB / 24.54 MB, free: 3.863 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.412/1.412, allocations: 230.6 MB / 258.2 MB, free: 8.051 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.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [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.001943/0.001943, allocations: 60.56 kB / 379 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2229, allocations: 53.38 MB / 432.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005085/0.2279, allocations: 3.753 MB / 436.2 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002452/0.2304, allocations: 1.515 MB / 437.7 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.2306, allocations: 8 kB / 437.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001785/0.2323, allocations: 0.7506 MB / 438.4 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008877/0.2332, allocations: 401.4 kB / 438.8 MB, free: 500 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.2343, allocations: 0.5542 MB / 439.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005277/0.2349, allocations: 466 kB / 439.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005209/0.2354, allocations: 298.1 kB / 440.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003179/0.2357, allocations: 211.3 kB / 440.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003397/0.236, allocations: 270.9 kB / 440.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.766e-05/0.2361, allocations: 40 kB / 440.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003864/0.2365, allocations: 215.8 kB / 440.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.846e-05/0.2366, allocations: 107.6 kB / 441 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.2368, allocations: 230.9 kB / 441.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008435/0.2376, allocations: 0.6849 MB / 441.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2376, allocations: 0 / 441.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2376, allocations: 4 kB / 441.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.2376, allocations: 0 / 441.9 MB, free: 13.43 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.002142/0.2398, allocations: 0.8407 MB / 442.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.2398, allocations: 12.03 kB / 442.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003462/0.2433, allocations: 472.1 kB / 443.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004704/0.2437, allocations: 257.3 kB / 443.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/0.2438, allocations: 41.69 kB / 443.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.096e-05/0.2439, allocations: 52.38 kB / 443.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.2449, allocations: 0.5181 MB / 444 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.2449, allocations: 4 kB / 444 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.198e-05/0.2449, allocations: 23.94 kB / 444.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.245, allocations: 12 kB / 444.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.2461, allocations: 0.5712 MB / 444.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002878/0.2489, allocations: 1.714 MB / 446.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.2504, allocations: 0.5713 MB / 446.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003643/0.2508, allocations: 194 kB / 447.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.463e-05/0.2509, allocations: 28.41 kB / 447.2 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.2509, allocations: 42.94 kB / 447.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.843e-06/0.2509, allocations: 0 / 447.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001957/0.2528, allocations: 0.7104 MB / 447.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.2529, allocations: 55.84 kB / 448 MB, free: 7.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.2531, allocations: 194.8 kB / 448.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.2531, allocations: 33.69 kB / 448.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.2533, allocations: 221 kB / 448.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.2534, allocations: 170.5 kB / 448.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.2536, allocations: 82.19 kB / 448.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.2537, allocations: 338.8 kB / 449 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.254, allocations: 160.9 kB / 449.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/0.2544, allocations: 220.2 kB / 449.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007132/0.2551, allocations: 403.4 kB / 449.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2551, allocations: 0 / 449.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001071/0.2562, allocations: 0.5317 MB / 450.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.2562, allocations: 8 kB / 450.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2562, allocations: 224 / 450.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003637/0.2566, allocations: 100.7 kB / 450.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.257, allocations: 83.89 kB / 450.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/0.2592, allocations: 1.946 MB / 452.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.2595, allocations: 47.66 kB / 452.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.2595, allocations: 16 kB / 452.5 MB, free: 2.441 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.0002198/0.2597, allocations: 165.9 kB / 452.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.908e-05/0.2598, allocations: 27.81 kB / 452.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.261, allocations: 0.5472 MB / 453.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.261, allocations: 4 kB / 453.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.261, allocations: 7.984 kB / 453.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.261, allocations: 0 / 453.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.2628, allocations: 1.107 MB / 454.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.2628, allocations: 3.938 kB / 454.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/0.2631, allocations: 71.89 kB / 454.4 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002764/0.2634, allocations: 92.8 kB / 454.5 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.2634, allocations: 8 kB / 454.5 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.2656, allocations: 1.934 MB / 456.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2656, allocations: 3.984 kB / 456.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.267, allocations: 0.7972 MB / 457.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.2671, allocations: 31.7 kB / 457.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.2671, allocations: 12 kB / 457.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.2673, allocations: 15.98 kB / 457.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.849e-05/0.2674, allocations: 36.42 kB / 457.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/0.2674, allocations: 20 kB / 457.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.2676, allocations: 135.2 kB / 457.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2676, allocations: 0 / 457.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005524/0.2681, allocations: 151.8 kB / 457.6 MB, free: 13.07 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.0002231/0.2684, allocations: 139.1 kB / 457.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.2694, allocations: 0.5424 MB / 458.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2694, allocations: 0 / 458.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005993/0.27, allocations: 357 kB / 458.7 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.2703, allocations: 28.42 kB / 458.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.2717, allocations: 0.8195 MB / 459.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.2721, allocations: 0.8084 MB / 460.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001776/0.2723, allocations: 50.89 kB / 460.4 MB, free: 10.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.103e-05/0.2724, allocations: 31.44 kB / 460.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2724, allocations: 0 / 460.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of Templates: time 0.01/0.2824, allocations: 4.77 MB / 465.2 MB, free: 5.473 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.523639119230211]