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.00181/0.00181, allocations: 120.8 kB / 19.18 MB, free: 3.906 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.002224/0.002224, allocations: 202.6 kB / 22.12 MB, free: 0.9648 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.515/1.515, allocations: 230.4 MB / 255.4 MB, free: 15.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.001894/0.001894, allocations: 71.83 kB / 374.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1022, allocations: 53.31 MB / 428.1 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.00515/0.1074, allocations: 3.724 MB / 431.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1804/0.2878, allocations: 1.502 MB / 433.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002248/0.2881, allocations: 8.938 kB / 433.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00159/0.2896, allocations: 0.7571 MB / 434 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007927/0.2904, allocations: 392.3 kB / 434.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008516/0.2913, allocations: 0.5601 MB / 435 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.2917, allocations: 466.6 kB / 435.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004905/0.2922, allocations: 365.1 kB / 435.8 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.2924, allocations: 224.3 kB / 436 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.2927, allocations: 271.2 kB / 436.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.957e-05/0.2927, allocations: 47.83 kB / 436.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003434/0.2931, allocations: 210.4 kB / 436.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.391e-05/0.2931, allocations: 110.3 kB / 436.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.2933, allocations: 246.6 kB / 436.9 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007195/0.294, allocations: 0.6906 MB / 437.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.294, allocations: 4.453 kB / 437.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.294, allocations: 0 / 437.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.2941, allocations: 0.875 kB / 437.6 MB, free: 7.477 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.001897/0.296, allocations: 0.9287 MB / 438.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.296, allocations: 13.19 kB / 438.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003452/0.2994, allocations: 473.8 kB / 439 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/0.2999, allocations: 311.8 kB / 439.3 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.522e-05/0.2999, allocations: 43.81 kB / 439.3 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.8e-05/0.3, allocations: 50.64 kB / 439.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000935/0.301, allocations: 0.5284 MB / 439.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.301, allocations: 5.641 kB / 439.9 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.218e-05/0.301, allocations: 21.69 kB / 439.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.301, allocations: 12.19 kB / 439.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.3021, allocations: 0.5784 MB / 440.5 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002764/0.3048, allocations: 1.967 MB / 442.5 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.3064, allocations: 2.12 MB / 444.6 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005277/0.307, allocations: 235.8 kB / 444.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.3071, allocations: 177.8 kB / 445 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.3071, allocations: 39.2 kB / 445.1 MB, free: 2.289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.445e-06/0.3071, allocations: 1.375 kB / 445.1 MB, free: 2.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001834/0.3089, allocations: 0.7452 MB / 445.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.309, allocations: 56.31 kB / 445.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.3092, allocations: 180.5 kB / 446 MB, free: 1.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.3092, allocations: 34.77 kB / 446.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.3093, allocations: 226.6 kB / 446.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.93e-05/0.3094, allocations: 166.2 kB / 446.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.3095, allocations: 90.41 kB / 446.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.372e-05/0.3096, allocations: 335.4 kB / 446.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.3099, allocations: 149.7 kB / 447 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003325/0.3102, allocations: 244.9 kB / 447.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006017/0.3108, allocations: 420.8 kB / 447.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3108, allocations: 1.219 kB / 447.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009884/0.3118, allocations: 0.5353 MB / 448.2 MB, free: 324 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3118, allocations: 10.59 kB / 448.2 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.3119, allocations: 4.172 kB / 448.2 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003466/0.3122, allocations: 83.11 kB / 448.3 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/0.3126, allocations: 100 kB / 448.4 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.3146, allocations: 1.78 MB / 450.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.3149, allocations: 43.19 kB / 450.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.3149, allocations: 20.03 kB / 450.2 MB, free: 14.65 MB / 366.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.000268/0.3152, allocations: 174 kB / 450.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.231e-05/0.3153, allocations: 28.3 kB / 450.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.3164, allocations: 0.5311 MB / 451 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3164, allocations: 4.719 kB / 451 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3164, allocations: 1.062 kB / 451 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.3164, allocations: 4.094 kB / 451 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/0.3182, allocations: 1.141 MB / 452.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.3182, allocations: 7.141 kB / 452.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003258/0.3185, allocations: 79.19 kB / 452.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002818/0.3188, allocations: 86.47 kB / 452.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.3189, allocations: 13.95 kB / 452.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/0.3207, allocations: 1.765 MB / 454.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3207, allocations: 1.062 kB / 454.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.3221, allocations: 0.806 MB / 454.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.3222, allocations: 112.1 kB / 455 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.3222, allocations: 7.25 kB / 455 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.3225, allocations: 20.66 kB / 455 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.389e-05/0.3225, allocations: 37.88 kB / 455 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.3226, allocations: 20.62 kB / 455.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.3227, allocations: 133.8 kB / 455.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3227, allocations: 1.188 kB / 455.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005765/0.3233, allocations: 155.7 kB / 455.3 MB, free: 11.22 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.0002579/0.3235, allocations: 149 kB / 455.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.3247, allocations: 0.5406 MB / 456 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3247, allocations: 0.5625 kB / 456 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005755/0.3252, allocations: 361.6 kB / 456.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.3256, allocations: 33.98 kB / 456.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.327, allocations: 0.8489 MB / 457.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.3274, allocations: 0.8093 MB / 458.1 MB, free: 9.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.3275, allocations: 40.73 kB / 458.1 MB, free: 9.398 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3275, allocations: 0 / 458.1 MB, free: 9.398 MB / 366.1 MB Notification: Performance of Templates: time 0.01017/0.3377, allocations: 6.56 MB / 464.7 MB, free: 6.883 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.565443385974504]