Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001872/0.001872, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002384/0.002384, allocations: 217.7 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 230.5 MB / 258.1 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 63.91 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2463, allocations: 53.41 MB / 432.4 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.006618/0.2529, allocations: 5.126 MB / 437.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003359/0.2563, allocations: 1.858 MB / 439.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002594/0.2565, allocations: 23.88 kB / 439.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002711/0.2593, allocations: 1.182 MB / 440.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.2609, allocations: 0.6295 MB / 441.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.2623, allocations: 0.6306 MB / 441.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00118/0.2635, allocations: 0.7505 MB / 442.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008801/0.2644, allocations: 0.535 MB / 443.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005044/0.2649, allocations: 342.7 kB / 443.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005017/0.2654, allocations: 426.3 kB / 443.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.96e-05/0.2655, allocations: 64 kB / 444 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006203/0.2661, allocations: 251.8 kB / 444.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.2662, allocations: 167.4 kB / 444.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003387/0.2666, allocations: 374.1 kB / 444.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.2679, allocations: 1.029 MB / 445.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2679, allocations: 4 kB / 445.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2679, allocations: 0 / 445.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.2679, allocations: 0 / 445.8 MB, free: 9.375 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.003865/0.2718, allocations: 1.328 MB / 447.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.2718, allocations: 8.031 kB / 447.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005753/0.2776, allocations: 0.7848 MB / 447.9 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009477/0.2785, allocations: 365.9 kB / 448.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.564e-05/0.2786, allocations: 58.38 kB / 448.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.2787, allocations: 80.12 kB / 448.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.2802, allocations: 0.7726 MB / 449.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/0.2802, allocations: 3.953 kB / 449.2 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.537e-05/0.2803, allocations: 28 kB / 449.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.2803, allocations: 20 kB / 449.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.2819, allocations: 0.9135 MB / 450.2 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004067/0.286, allocations: 2.521 MB / 452.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/0.2878, allocations: 0.775 MB / 453.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005122/0.2883, allocations: 295.2 kB / 453.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.2884, allocations: 36.59 kB / 453.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.2885, allocations: 43.22 kB / 453.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.826e-06/0.2885, allocations: 0 / 453.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003578/0.2921, allocations: 1.255 MB / 455.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.2921, allocations: 60.06 kB / 455.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003543/0.2925, allocations: 300.1 kB / 455.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.892e-05/0.2925, allocations: 37.7 kB / 455.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.2927, allocations: 288.7 kB / 455.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/0.2929, allocations: 273.7 kB / 456 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.2931, allocations: 118.6 kB / 456.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.2933, allocations: 362.7 kB / 456.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004547/0.2937, allocations: 233.9 kB / 456.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006147/0.2944, allocations: 366.5 kB / 457.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.2954, allocations: 0.622 MB / 457.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2954, allocations: 4 kB / 457.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001779/0.2972, allocations: 0.8647 MB / 458.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.2972, allocations: 11.94 kB / 458.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.2972, allocations: 4 kB / 458.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007766/0.298, allocations: 207 kB / 458.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/0.2986, allocations: 135.8 kB / 458.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003466/0.302, allocations: 2.605 MB / 461.5 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000458/0.3025, allocations: 71.45 kB / 461.6 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.083e-05/0.3025, allocations: 28.03 kB / 461.6 MB, free: 9.125 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.0003175/0.3029, allocations: 205.7 kB / 461.8 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.995e-05/0.303, allocations: 51.61 kB / 461.9 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/0.3049, allocations: 0.8859 MB / 462.7 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.3049, allocations: 11.94 kB / 462.8 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3049, allocations: 4 kB / 462.8 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.3049, allocations: 3.984 kB / 462.8 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002853/0.3078, allocations: 1.671 MB / 464.4 MB, free: 6.219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.3078, allocations: 0 / 464.4 MB, free: 6.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004874/0.3082, allocations: 111.9 kB / 464.5 MB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007083/0.309, allocations: 207.7 kB / 464.7 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.097e-05/0.309, allocations: 15.98 kB / 464.8 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003341/0.3123, allocations: 2.601 MB / 467.4 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3123, allocations: 0 / 467.4 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/0.3147, allocations: 1.257 MB / 468.6 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.3148, allocations: 59.55 kB / 468.7 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/0.3149, allocations: 16 kB / 468.7 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000351/0.3152, allocations: 27.92 kB / 468.7 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.3153, allocations: 60.61 kB / 468.8 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.405e-05/0.3154, allocations: 27.92 kB / 468.8 MB, free: 1.715 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002242/0.3156, allocations: 207.1 kB / 469 MB, free: 1.516 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3156, allocations: 0 / 469 MB, free: 1.516 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007837/0.3164, allocations: 239.5 kB / 469.2 MB, free: 1.281 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.0002618/0.3166, allocations: 146.1 kB / 469.4 MB, free: 1.129 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001606/0.3182, allocations: 0.8007 MB / 470.2 MB, free: 320 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3183, allocations: 0 / 470.2 MB, free: 320 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008916/0.3191, allocations: 0.5222 MB / 470.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/0.3196, allocations: 61.05 kB / 470.8 MB, free: 15.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.3218, allocations: 1.201 MB / 472 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/0.3223, allocations: 0.8853 MB / 472.9 MB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.3225, allocations: 63.41 kB / 472.9 MB, free: 13.5 MB / 382.1 MB Notification: Performance of SimCode: time 4.8e-07/0.3225, allocations: 0 / 472.9 MB, free: 13.5 MB / 382.1 MB Notification: Performance of Templates: time 0.01412/0.3366, allocations: 10.24 MB / 483.2 MB, free: 3.258 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 8.042152526089922]