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.001772/0.001772, allocations: 119.1 kB / 20.45 MB, free: 1.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.002107/0.002107, allocations: 205.6 kB / 23.72 MB, free: 4.391 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.485/1.485, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.002046/0.002046, allocations: 63.89 kB / 378.2 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2866, allocations: 53.4 MB / 431.6 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.006886/0.2935, allocations: 4.559 MB / 436.2 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003852/0.2973, allocations: 1.72 MB / 437.9 MB, free: 244 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002659/0.2976, allocations: 12 kB / 437.9 MB, free: 232 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002813/0.3004, allocations: 1.107 MB / 439 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001571/0.302, allocations: 0.6019 MB / 439.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.3034, allocations: 0.5838 MB / 440.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.3044, allocations: 0.7544 MB / 441 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008809/0.3053, allocations: 0.5273 MB / 441.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005251/0.3058, allocations: 342.6 kB / 441.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005022/0.3063, allocations: 374.3 kB / 442.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.3064, allocations: 64 kB / 442.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006354/0.3071, allocations: 243.8 kB / 442.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.3072, allocations: 171.4 kB / 442.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003261/0.3076, allocations: 302.5 kB / 443 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.3089, allocations: 1.031 MB / 444 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3089, allocations: 3.938 kB / 444 MB, free: 10.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3089, allocations: 4 kB / 444 MB, free: 10.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.309, allocations: 4 kB / 444 MB, free: 10.14 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.004012/0.313, allocations: 1.32 MB / 445.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.313, allocations: 11.98 kB / 445.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005952/0.319, allocations: 0.7848 MB / 446.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008553/0.3198, allocations: 350.1 kB / 446.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.263e-05/0.3199, allocations: 62.31 kB / 446.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.32, allocations: 84.12 kB / 446.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.3216, allocations: 0.8189 MB / 447.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/0.3216, allocations: 3.953 kB / 447.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-05/0.3217, allocations: 36 kB / 447.5 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.3217, allocations: 20 kB / 447.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.3235, allocations: 0.894 MB / 448.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004241/0.3277, allocations: 2.21 MB / 450.6 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.3296, allocations: 0.7671 MB / 451.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005715/0.3302, allocations: 295.2 kB / 451.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.3303, allocations: 28.64 kB / 451.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.3304, allocations: 47.2 kB / 451.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.905e-06/0.3304, allocations: 0 / 451.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.00379/0.3341, allocations: 1.255 MB / 453 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.3342, allocations: 60.06 kB / 453 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.3345, allocations: 249 kB / 453.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.236e-05/0.3345, allocations: 41.7 kB / 453.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.3348, allocations: 300.6 kB / 453.6 MB, free: 328 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.335, allocations: 273.6 kB / 453.9 MB, free: 52 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/0.3352, allocations: 122.6 kB / 454 MB, free: 15.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.3354, allocations: 350.7 kB / 454.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004825/0.3358, allocations: 237.9 kB / 454.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005937/0.3364, allocations: 362.5 kB / 454.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.3376, allocations: 0.6259 MB / 455.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3376, allocations: 4 kB / 455.6 MB, free: 14.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001847/0.3394, allocations: 0.8569 MB / 456.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3394, allocations: 8 kB / 456.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.3395, allocations: 4 kB / 456.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008561/0.3403, allocations: 204.7 kB / 456.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005498/0.3409, allocations: 135.7 kB / 456.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003685/0.3445, allocations: 2.545 MB / 459.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004265/0.345, allocations: 63.56 kB / 459.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.489e-05/0.345, allocations: 35.98 kB / 459.4 MB, free: 10.32 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.0003149/0.3453, allocations: 193.7 kB / 459.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-05/0.3454, allocations: 43.7 kB / 459.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/0.3475, allocations: 0.8974 MB / 460.5 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.3475, allocations: 8 kB / 460.5 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3475, allocations: 8 kB / 460.5 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.3475, allocations: 7.922 kB / 460.6 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002929/0.3505, allocations: 1.469 MB / 462 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3505, allocations: 4 kB / 462 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004964/0.351, allocations: 115.8 kB / 462.1 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000749/0.3517, allocations: 196.7 kB / 462.3 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.576e-05/0.3518, allocations: 16 kB / 462.3 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003645/0.3554, allocations: 2.541 MB / 464.9 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3554, allocations: 0 / 464.9 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002563/0.358, allocations: 1.254 MB / 466.1 MB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.3581, allocations: 51.56 kB / 466.2 MB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.237e-05/0.3581, allocations: 12 kB / 466.2 MB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/0.3585, allocations: 32.05 kB / 466.2 MB, free: 3.305 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.3586, allocations: 60.53 kB / 466.3 MB, free: 3.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/0.3587, allocations: 20 kB / 466.3 MB, free: 3.227 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002126/0.3589, allocations: 176.5 kB / 466.5 MB, free: 3.051 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3589, allocations: 0 / 466.5 MB, free: 3.051 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009257/0.3598, allocations: 251.4 kB / 466.7 MB, free: 2.805 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.0003098/0.3601, allocations: 147.2 kB / 466.9 MB, free: 2.652 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0018/0.3619, allocations: 0.8046 MB / 467.7 MB, free: 1.832 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3619, allocations: 0 / 467.7 MB, free: 1.832 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009223/0.3628, allocations: 0.5144 MB / 468.2 MB, free: 1.309 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.3633, allocations: 56.36 kB / 468.3 MB, free: 1.254 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.3656, allocations: 1.168 MB / 469.4 MB, free: 56 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.3659, allocations: 294.8 kB / 469.7 MB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003137/0.3662, allocations: 72.38 kB / 469.8 MB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.3664, allocations: 47.42 kB / 469.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3664, allocations: 4 kB / 469.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of Templates: time 0.0163/0.3827, allocations: 8.054 MB / 477.9 MB, free: 7.629 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/MultipleResonance/MultipleResonance.csv","/var/lib/jenkins/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: 4.81390356272459]