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.005653/0.005653, allocations: 106 kB / 21.98 MB, free: 5.227 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.00144/0.00144, allocations: 216.4 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.432/1.432, allocations: 230.6 MB / 259 MB, free: 8.02 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.002032/0.002032, allocations: 64.77 kB / 379.8 MB, free: 2.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.268, allocations: 53.37 MB / 433.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005435/0.2734, allocations: 3.753 MB / 436.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002929/0.2763, allocations: 1.518 MB / 438.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002521/0.2766, allocations: 8 kB / 438.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.2785, allocations: 0.7541 MB / 439.2 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.2795, allocations: 402 kB / 439.6 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.2806, allocations: 0.5511 MB / 440.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005934/0.2812, allocations: 466 kB / 440.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000724/0.282, allocations: 435.3 kB / 441 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003704/0.2823, allocations: 227.1 kB / 441.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003636/0.2827, allocations: 274.9 kB / 441.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.055e-05/0.2828, allocations: 44 kB / 441.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004757/0.2832, allocations: 207.9 kB / 441.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.2833, allocations: 115.6 kB / 441.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.2836, allocations: 242.8 kB / 442.1 MB, free: 14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009043/0.2845, allocations: 0.6928 MB / 442.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2845, allocations: 0 / 442.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2845, allocations: 4 kB / 442.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.934e-06/0.2845, allocations: 0 / 442.8 MB, free: 13.3 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.002126/0.2866, allocations: 0.8563 MB / 443.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.2867, allocations: 8.031 kB / 443.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003415/0.2901, allocations: 480.1 kB / 444.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005103/0.2906, allocations: 253.8 kB / 444.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.06e-05/0.2906, allocations: 37.69 kB / 444.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.9e-05/0.2907, allocations: 52.38 kB / 444.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.2918, allocations: 0.5259 MB / 445 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.2918, allocations: 0 / 445 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.806e-05/0.2919, allocations: 31.98 kB / 445 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.2919, allocations: 12 kB / 445 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.293, allocations: 0.579 MB / 445.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003076/0.296, allocations: 1.727 MB / 447.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.2975, allocations: 0.5546 MB / 447.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004852/0.298, allocations: 234 kB / 448.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.683e-05/0.2981, allocations: 24.34 kB / 448.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.2981, allocations: 39 kB / 448.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.705e-06/0.2981, allocations: 0 / 448.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001823/0.3, allocations: 0.6636 MB / 448.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.3, allocations: 55.84 kB / 448.9 MB, free: 7.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.3002, allocations: 187 kB / 449.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.3002, allocations: 33.7 kB / 449.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.3004, allocations: 233 kB / 449.4 MB, free: 6.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.3006, allocations: 166.5 kB / 449.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.3007, allocations: 90.17 kB / 449.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.3009, allocations: 330.8 kB / 449.9 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.3012, allocations: 152.9 kB / 450.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.3016, allocations: 253.8 kB / 450.3 MB, free: 5.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007181/0.3023, allocations: 412.8 kB / 450.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3023, allocations: 4 kB / 450.7 MB, free: 5.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001144/0.3035, allocations: 0.5356 MB / 451.3 MB, free: 4.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3035, allocations: 4 kB / 451.3 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.3035, allocations: 7.984 kB / 451.3 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003531/0.3038, allocations: 81.05 kB / 451.4 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.3043, allocations: 99.83 kB / 451.5 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.3062, allocations: 1.67 MB / 453.1 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/0.3064, allocations: 43.67 kB / 453.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.011e-05/0.3065, allocations: 23.98 kB / 453.2 MB, free: 2.508 MB / 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.0002152/0.3067, allocations: 177.7 kB / 453.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.3067, allocations: 27.81 kB / 453.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.3079, allocations: 0.5317 MB / 453.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3079, allocations: 4 kB / 453.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.3079, allocations: 0 / 453.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.3079, allocations: 3.984 kB / 453.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001844/0.3098, allocations: 1.116 MB / 455.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.3098, allocations: 3.938 kB / 455.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/0.3101, allocations: 83.95 kB / 455.1 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000278/0.3104, allocations: 84.95 kB / 455.2 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.3104, allocations: 12 kB / 455.2 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.3122, allocations: 1.662 MB / 456.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3123, allocations: 8.094 kB / 456.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.3137, allocations: 0.8029 MB / 457.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.251e-05/0.3137, allocations: 31.81 kB / 457.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.187e-05/0.3138, allocations: 8 kB / 457.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.314, allocations: 23.98 kB / 457.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.573e-05/0.3141, allocations: 32.38 kB / 457.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.3141, allocations: 27.86 kB / 457.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.3143, allocations: 131.2 kB / 458 MB, free: 13.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3143, allocations: 64 / 458 MB, free: 13.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005572/0.3148, allocations: 155.7 kB / 458.1 MB, free: 13.38 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.00026/0.3151, allocations: 135.1 kB / 458.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.3162, allocations: 0.5463 MB / 458.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3162, allocations: 0.5625 kB / 458.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006034/0.3168, allocations: 353 kB / 459.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.3172, allocations: 37.77 kB / 459.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.3186, allocations: 0.8659 MB / 460 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.3191, allocations: 0.8045 MB / 460.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.3192, allocations: 43.36 kB / 460.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3192, allocations: 0 / 460.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of Templates: time 0.009873/0.3291, allocations: 6.562 MB / 467.4 MB, free: 3.945 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.5026955609209836]