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.MultipleResonance.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.008119/0.008119, allocations: 106.2 kB / 21.98 MB, free: 5.223 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.002391/0.002391, allocations: 211.9 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.503/1.503, allocations: 230.6 MB / 259 MB, free: 8.297 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.MultipleResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.pin_n1.reference.gamma|transformer.pin_n2.reference.gamma|currentSensor.abs_i|currentSensor.arg_i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.pin_n1.reference.gamma|transformer.pin_n2.reference.gamma|currentSensor.abs_i|currentSensor.arg_i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") [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.002015/0.002015, allocations: 64.78 kB / 379.8 MB, free: 2.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2407, allocations: 53.36 MB / 433.2 MB, free: 7.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.007049/0.2477, allocations: 5.134 MB / 438.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003737/0.2515, allocations: 1.865 MB / 440.2 MB, free: 4 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003122/0.2518, allocations: 12.05 kB / 440.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002771/0.2546, allocations: 1.19 MB / 441.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.2561, allocations: 0.6247 MB / 442 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.2575, allocations: 0.6093 MB / 442.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009882/0.2585, allocations: 0.7544 MB / 443.4 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009364/0.2594, allocations: 0.5443 MB / 443.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004716/0.2599, allocations: 338.7 kB / 444.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005214/0.2604, allocations: 422.4 kB / 444.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.03e-05/0.2605, allocations: 64 kB / 444.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005497/0.2611, allocations: 255.8 kB / 445 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.2612, allocations: 171.3 kB / 445.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003358/0.2615, allocations: 366.2 kB / 445.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.2628, allocations: 1.031 MB / 446.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2628, allocations: 4 kB / 446.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2628, allocations: 0 / 446.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.2628, allocations: 0 / 446.5 MB, free: 9.645 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.003748/0.2666, allocations: 1.324 MB / 447.9 MB, free: 8.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.2666, allocations: 16.03 kB / 447.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005865/0.2725, allocations: 0.7848 MB / 448.7 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007788/0.2732, allocations: 354 kB / 449 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.96e-05/0.2733, allocations: 58.38 kB / 449.1 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.2734, allocations: 80.12 kB / 449.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.275, allocations: 0.7726 MB / 449.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/0.275, allocations: 3.953 kB / 449.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.033e-05/0.2751, allocations: 36 kB / 449.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.2751, allocations: 20 kB / 450 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.2768, allocations: 0.9097 MB / 450.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00423/0.281, allocations: 2.521 MB / 453.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.2829, allocations: 0.7673 MB / 454.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005487/0.2834, allocations: 296 kB / 454.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.2835, allocations: 28.61 kB / 454.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.2836, allocations: 47.22 kB / 454.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.425e-06/0.2836, allocations: 0 / 454.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003596/0.2872, allocations: 1.259 MB / 455.8 MB, free: 208 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.2872, allocations: 64 kB / 455.8 MB, free: 132 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003757/0.2876, allocations: 300.1 kB / 456.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/0.2876, allocations: 37.7 kB / 456.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.2878, allocations: 296.7 kB / 456.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.2881, allocations: 257.7 kB / 456.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.2883, allocations: 130.5 kB / 456.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.2885, allocations: 354.7 kB / 457.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004856/0.2889, allocations: 241.8 kB / 457.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005896/0.2895, allocations: 358.5 kB / 457.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.2906, allocations: 0.6298 MB / 458.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.2907, allocations: 0 / 458.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001864/0.2925, allocations: 0.8647 MB / 459.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.2925, allocations: 11.98 kB / 459.3 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.2925, allocations: 8 kB / 459.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007882/0.2933, allocations: 207.2 kB / 459.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005442/0.2939, allocations: 131.8 kB / 459.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003611/0.2975, allocations: 2.605 MB / 462.2 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004095/0.2979, allocations: 71.45 kB / 462.3 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.074e-05/0.298, allocations: 32.03 kB / 462.3 MB, free: 9.402 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (73): * Single equations (assignments): 72 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003003/0.2983, allocations: 202.3 kB / 462.5 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.2984, allocations: 47.67 kB / 462.6 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/0.3004, allocations: 0.8898 MB / 463.5 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.3004, allocations: 11.94 kB / 463.5 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3004, allocations: 4 kB / 463.5 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.3004, allocations: 3.984 kB / 463.5 MB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/0.3033, allocations: 1.663 MB / 465.1 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3033, allocations: 0 / 465.1 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004962/0.3038, allocations: 111.9 kB / 465.3 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007142/0.3045, allocations: 208.6 kB / 465.5 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.618e-05/0.3046, allocations: 23.92 kB / 465.5 MB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003521/0.3081, allocations: 2.613 MB / 468.1 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3081, allocations: 0 / 468.1 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002455/0.3106, allocations: 1.257 MB / 469.4 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.726e-05/0.3107, allocations: 55.55 kB / 469.4 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.255e-05/0.3107, allocations: 12 kB / 469.4 MB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/0.3111, allocations: 31.92 kB / 469.5 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.3112, allocations: 60.61 kB / 469.5 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/0.3113, allocations: 23.98 kB / 469.5 MB, free: 1.996 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002394/0.3115, allocations: 207.1 kB / 469.7 MB, free: 1.793 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3115, allocations: 0 / 469.7 MB, free: 1.793 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000788/0.3123, allocations: 235.5 kB / 470 MB, free: 1.562 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 (63): * Single equations (assignments): 62 * 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 {(3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000267/0.3125, allocations: 151.1 kB / 470.1 MB, free: 1.402 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001631/0.3142, allocations: 0.8008 MB / 470.9 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3142, allocations: 0 / 470.9 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008918/0.3151, allocations: 0.5183 MB / 471.4 MB, free: 64 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000497/0.3156, allocations: 64.91 kB / 471.5 MB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.3177, allocations: 1.205 MB / 472.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/0.3183, allocations: 0.8891 MB / 473.6 MB, free: 13.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.3185, allocations: 59.42 kB / 473.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3185, allocations: 0 / 473.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of Templates: time 0.0148/0.3333, allocations: 10.24 MB / 483.9 MB, free: 3.531 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/MultipleResonance/MultipleResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.967181008076295]