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.ParallelResonance.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.00125/0.00125, allocations: 119.3 kB / 21.17 MB, free: 0.7734 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.001356/0.001356, allocations: 215.5 kB / 24.46 MB, free: 4.359 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.374/1.374, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [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.001951/0.001951, allocations: 71.83 kB / 378.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2486, allocations: 53.32 MB / 432 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005069/0.2536, allocations: 3.753 MB / 435.8 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002477/0.2561, allocations: 1.511 MB / 437.3 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.2563, allocations: 8 kB / 437.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.258, allocations: 0.7467 MB / 438.1 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008691/0.2589, allocations: 401.9 kB / 438.5 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.2599, allocations: 0.5515 MB / 439 MB, free: 412 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004885/0.2604, allocations: 458 kB / 439.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006107/0.261, allocations: 379.4 kB / 439.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.2613, allocations: 219.2 kB / 440 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/0.2617, allocations: 266.9 kB / 440.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.482e-05/0.2617, allocations: 52 kB / 440.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003913/0.2621, allocations: 219.8 kB / 440.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.374e-05/0.2622, allocations: 107.6 kB / 440.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.2624, allocations: 234.8 kB / 440.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008168/0.2632, allocations: 0.7005 MB / 441.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2633, allocations: 0 / 441.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.638e-06/0.2633, allocations: 4 kB / 441.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.2633, allocations: 0 / 441.6 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.002095/0.2654, allocations: 0.92 MB / 442.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.2654, allocations: 12.03 kB / 442.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003478/0.2689, allocations: 476.1 kB / 443 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.2693, allocations: 311 kB / 443.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/0.2694, allocations: 49.69 kB / 443.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-05/0.2695, allocations: 52.31 kB / 443.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009548/0.2704, allocations: 0.5298 MB / 443.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.2704, allocations: 11.92 kB / 443.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.682e-05/0.2705, allocations: 27.98 kB / 444 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.2705, allocations: 12 kB / 444 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.2715, allocations: 0.5751 MB / 444.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002941/0.2745, allocations: 1.954 MB / 446.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/0.2767, allocations: 2.127 MB / 448.6 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004625/0.2771, allocations: 232.8 kB / 448.9 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001586/0.2773, allocations: 186.5 kB / 449 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.2773, allocations: 39 kB / 449.1 MB, free: 5.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.364e-06/0.2773, allocations: 4 kB / 449.1 MB, free: 5.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001848/0.2792, allocations: 0.7389 MB / 449.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.2792, allocations: 55.84 kB / 449.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.2794, allocations: 182.9 kB / 450.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.2795, allocations: 33.7 kB / 450.1 MB, free: 4.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.2796, allocations: 224.9 kB / 450.3 MB, free: 4.371 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.2797, allocations: 170.5 kB / 450.5 MB, free: 4.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.2799, allocations: 82.25 kB / 450.6 MB, free: 4.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.28, allocations: 338.8 kB / 450.9 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.2803, allocations: 153 kB / 451 MB, free: 3.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/0.2807, allocations: 238.5 kB / 451.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007078/0.2814, allocations: 432.8 kB / 451.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2814, allocations: 0 / 451.7 MB, free: 2.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001046/0.2824, allocations: 0.5358 MB / 452.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.2825, allocations: 8 kB / 452.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2825, allocations: 0 / 452.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003381/0.2828, allocations: 76.81 kB / 452.3 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.2832, allocations: 103.8 kB / 452.4 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.2851, allocations: 1.778 MB / 454.2 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.2853, allocations: 43.72 kB / 454.2 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.2854, allocations: 20 kB / 454.3 MB, free: 204 kB / 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.0002003/0.2856, allocations: 169.7 kB / 454.4 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.869e-05/0.2857, allocations: 31.98 kB / 454.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.2868, allocations: 0.5316 MB / 455 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2868, allocations: 4 kB / 455 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2868, allocations: 4 kB / 455 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.2868, allocations: 11.86 kB / 455 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.2885, allocations: 1.136 MB / 456.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2885, allocations: 8 kB / 456.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003375/0.2889, allocations: 79.89 kB / 456.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002666/0.2891, allocations: 84.8 kB / 456.3 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.2892, allocations: 12 kB / 456.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/0.2909, allocations: 1.771 MB / 458.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2909, allocations: 7.969 kB / 458.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.2923, allocations: 0.7952 MB / 458.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.163e-05/0.2924, allocations: 116.9 kB / 459 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.2924, allocations: 8 kB / 459 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.2927, allocations: 24.05 kB / 459 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.732e-05/0.2928, allocations: 36.33 kB / 459.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.2928, allocations: 16 kB / 459.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.2929, allocations: 135.2 kB / 459.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2929, allocations: 0 / 459.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005116/0.2934, allocations: 151.7 kB / 459.4 MB, free: 10.81 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.0002288/0.2936, allocations: 143.1 kB / 459.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.2947, allocations: 0.5502 MB / 460.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2947, allocations: 0 / 460.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005744/0.2953, allocations: 361.7 kB / 460.4 MB, free: 9.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.2956, allocations: 31.91 kB / 460.4 MB, free: 9.699 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.2969, allocations: 0.8643 MB / 461.3 MB, free: 8.801 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.2974, allocations: 0.8045 MB / 462.1 MB, free: 7.969 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.2975, allocations: 39.42 kB / 462.2 MB, free: 7.93 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2975, allocations: 0 / 462.2 MB, free: 7.93 MB / 366.1 MB Notification: Performance of Templates: time 0.009098/0.3066, allocations: 6.549 MB / 468.7 MB, free: 1.379 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.0573859959840775]