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.006254/0.006254, allocations: 109.8 kB / 21.98 MB, free: 5.176 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.001559/0.001559, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.459/1.459, allocations: 230.6 MB / 259 MB, free: 8.039 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.001953/0.001953, allocations: 68.11 kB / 379.8 MB, free: 2.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2443, allocations: 53.36 MB / 433.2 MB, free: 7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005692/0.25, allocations: 3.756 MB / 436.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002821/0.2528, allocations: 1.511 MB / 438.4 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.253, allocations: 12 kB / 438.4 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001861/0.2549, allocations: 0.7584 MB / 439.2 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009315/0.2558, allocations: 390 kB / 439.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.2569, allocations: 0.5592 MB / 440.1 MB, free: 0 / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005565/0.2575, allocations: 454.1 kB / 440.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005906/0.2581, allocations: 361.8 kB / 440.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003379/0.2584, allocations: 219.2 kB / 441.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003451/0.2587, allocations: 266.9 kB / 441.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.022e-05/0.2588, allocations: 40 kB / 441.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004434/0.2593, allocations: 219.8 kB / 441.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.367e-05/0.2593, allocations: 103.6 kB / 441.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000221/0.2596, allocations: 230.9 kB / 442 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008832/0.2604, allocations: 0.6864 MB / 442.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2605, allocations: 0 / 442.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2605, allocations: 0 / 442.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.2605, allocations: 0 / 442.7 MB, free: 13.45 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.002103/0.2626, allocations: 0.8446 MB / 443.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2626, allocations: 12.03 kB / 443.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003421/0.266, allocations: 476.1 kB / 444 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005277/0.2665, allocations: 257.1 kB / 444.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.511e-05/0.2666, allocations: 41.69 kB / 444.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.04e-05/0.2667, allocations: 52.38 kB / 444.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.2677, allocations: 0.522 MB / 444.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.2677, allocations: 3.938 kB / 444.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.561e-05/0.2678, allocations: 20 kB / 444.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.2678, allocations: 12 kB / 444.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.2689, allocations: 0.5712 MB / 445.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002942/0.2718, allocations: 1.714 MB / 447.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.2733, allocations: 0.5713 MB / 447.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003564/0.2737, allocations: 194 kB / 447.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-05/0.2738, allocations: 24.41 kB / 448 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/0.2738, allocations: 35 kB / 448 MB, free: 7.973 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.605e-06/0.2738, allocations: 0 / 448 MB, free: 7.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001953/0.2758, allocations: 0.7142 MB / 448.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.2758, allocations: 59.84 kB / 448.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.2761, allocations: 194.9 kB / 449 MB, free: 6.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.2761, allocations: 33.7 kB / 449 MB, free: 6.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.2763, allocations: 213 kB / 449.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.2764, allocations: 174.5 kB / 449.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.2765, allocations: 86.19 kB / 449.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.2767, allocations: 334.8 kB / 449.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003127/0.277, allocations: 148.9 kB / 449.9 MB, free: 5.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/0.2774, allocations: 232.2 kB / 450.2 MB, free: 5.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007342/0.2781, allocations: 403.5 kB / 450.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.2781, allocations: 0 / 450.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00109/0.2792, allocations: 0.5316 MB / 451.1 MB, free: 4.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.2792, allocations: 11.98 kB / 451.1 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.2792, allocations: 0 / 451.1 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003846/0.2796, allocations: 92.97 kB / 451.2 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.28, allocations: 91.88 kB / 451.3 MB, free: 4.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/0.2823, allocations: 1.942 MB / 453.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.2826, allocations: 47.72 kB / 453.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.2826, allocations: 16 kB / 453.3 MB, free: 2.457 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.0002751/0.2829, allocations: 165.7 kB / 453.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.531e-05/0.283, allocations: 27.81 kB / 453.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.2842, allocations: 0.5433 MB / 454 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.2842, allocations: 12 kB / 454 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2842, allocations: 4 kB / 454 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.2842, allocations: 3.984 kB / 454 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.286, allocations: 1.099 MB / 455.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/0.286, allocations: 11.92 kB / 455.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003237/0.2864, allocations: 75.91 kB / 455.2 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002878/0.2867, allocations: 84.8 kB / 455.3 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.2867, allocations: 12 kB / 455.3 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/0.2888, allocations: 1.934 MB / 457.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.2888, allocations: 8.062 kB / 457.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.2902, allocations: 0.7894 MB / 458 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/0.2903, allocations: 35.7 kB / 458.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.2903, allocations: 8 kB / 458.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.2906, allocations: 19.98 kB / 458.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.534e-05/0.2907, allocations: 36.36 kB / 458.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.2907, allocations: 16 kB / 458.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.2908, allocations: 135.3 kB / 458.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2908, allocations: 0 / 458.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000632/0.2915, allocations: 151.7 kB / 458.4 MB, free: 13.09 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.0002542/0.2917, allocations: 143.1 kB / 458.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.2928, allocations: 0.5389 MB / 459.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2928, allocations: 0 / 459.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006072/0.2934, allocations: 357 kB / 459.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.2937, allocations: 38.05 kB / 459.5 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.2951, allocations: 0.8408 MB / 460.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.2956, allocations: 0.8122 MB / 461.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.2957, allocations: 39.42 kB / 461.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2957, allocations: 4 kB / 461.2 MB, free: 10.24 MB / 366.1 MB Notification: Performance of Templates: time 0.009836/0.3055, allocations: 6.513 MB / 467.7 MB, free: 3.727 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/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-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: 7.511876397067681]