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.001629/0.001629, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002036/0.002036, allocations: 214.8 kB / 24.48 MB, free: 3.836 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.529/1.529, allocations: 230.5 MB / 258.1 MB, free: 7.789 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.00196/0.00196, allocations: 63.89 kB / 379 MB, free: 2.391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2372, allocations: 53.42 MB / 432.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.006729/0.2439, allocations: 4.539 MB / 436.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003649/0.2476, allocations: 1.721 MB / 438.7 MB, free: 248 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005167/0.2481, allocations: 16 kB / 438.7 MB, free: 232 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002875/0.2509, allocations: 1.1 MB / 439.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.2527, allocations: 0.6063 MB / 440.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.2541, allocations: 0.5876 MB / 441 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.2552, allocations: 0.7544 MB / 441.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009199/0.2562, allocations: 0.5252 MB / 442.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005415/0.2567, allocations: 342.7 kB / 442.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005494/0.2573, allocations: 374.3 kB / 443 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.2574, allocations: 68 kB / 443 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005924/0.258, allocations: 243.8 kB / 443.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.2581, allocations: 159.4 kB / 443.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003577/0.2585, allocations: 306.5 kB / 443.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.2598, allocations: 1.035 MB / 444.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2598, allocations: 4 kB / 444.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.2599, allocations: 3.984 kB / 444.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.2599, allocations: 0 / 444.8 MB, free: 10.15 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.003831/0.2637, allocations: 1.32 MB / 446.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2637, allocations: 11.98 kB / 446.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005884/0.2696, allocations: 0.7848 MB / 446.9 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007584/0.2704, allocations: 354 kB / 447.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/0.2704, allocations: 62.31 kB / 447.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.2706, allocations: 84.11 kB / 447.4 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.2722, allocations: 0.8267 MB / 448.2 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/0.2722, allocations: 3.953 kB / 448.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.873e-05/0.2723, allocations: 36 kB / 448.2 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.2723, allocations: 16 kB / 448.2 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.2739, allocations: 0.8979 MB / 449.1 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003992/0.2779, allocations: 2.202 MB / 451.3 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.2798, allocations: 0.7672 MB / 452.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005438/0.2803, allocations: 295.2 kB / 452.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.2804, allocations: 28.62 kB / 452.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.2804, allocations: 43.16 kB / 452.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.795e-06/0.2805, allocations: 0 / 452.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003675/0.2841, allocations: 1.255 MB / 453.7 MB, free: 1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.2842, allocations: 60.06 kB / 453.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.2845, allocations: 253 kB / 454 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.791e-05/0.2845, allocations: 37.7 kB / 454.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.2847, allocations: 300.6 kB / 454.4 MB, free: 336 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002106/0.2849, allocations: 265.7 kB / 454.6 MB, free: 68 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.2851, allocations: 126.6 kB / 454.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.2853, allocations: 358.7 kB / 455.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000467/0.2857, allocations: 233.9 kB / 455.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005737/0.2863, allocations: 358.5 kB / 455.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.2874, allocations: 0.6337 MB / 456.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.2874, allocations: 0 / 456.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001815/0.2893, allocations: 0.8569 MB / 457.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.2893, allocations: 8 kB / 457.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2893, allocations: 3.938 kB / 457.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007782/0.2901, allocations: 208.7 kB / 457.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005446/0.2906, allocations: 139.8 kB / 457.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/0.2941, allocations: 2.541 MB / 460.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004072/0.2945, allocations: 67.55 kB / 460.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/0.2945, allocations: 31.98 kB / 460.2 MB, free: 10.33 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.0003118/0.2948, allocations: 201.7 kB / 460.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.449e-05/0.2949, allocations: 39.86 kB / 460.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/0.2969, allocations: 0.8896 MB / 461.3 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-06/0.2969, allocations: 8 kB / 461.3 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.2969, allocations: 4 kB / 461.3 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.2969, allocations: 7.922 kB / 461.3 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00272/0.2996, allocations: 1.481 MB / 462.8 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.2996, allocations: 0 / 462.8 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004914/0.3001, allocations: 107.9 kB / 462.9 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007036/0.3008, allocations: 200.7 kB / 463.1 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.3009, allocations: 19.98 kB / 463.1 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003381/0.3043, allocations: 2.542 MB / 465.6 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3043, allocations: 0 / 465.6 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/0.3067, allocations: 1.25 MB / 466.9 MB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.43e-05/0.3067, allocations: 59.44 kB / 467 MB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.833e-05/0.3068, allocations: 23.92 kB / 467 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/0.3072, allocations: 20 kB / 467 MB, free: 3.305 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.3073, allocations: 60.62 kB / 467.1 MB, free: 3.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.796e-05/0.3073, allocations: 27.97 kB / 467.1 MB, free: 3.219 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001873/0.3075, allocations: 176.5 kB / 467.3 MB, free: 3.043 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3075, allocations: 4 kB / 467.3 MB, free: 3.039 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008005/0.3083, allocations: 243.5 kB / 467.5 MB, free: 2.801 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.0002714/0.3086, allocations: 143.2 kB / 467.6 MB, free: 2.652 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001582/0.3102, allocations: 0.8085 MB / 468.4 MB, free: 1.828 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3102, allocations: 0 / 468.4 MB, free: 1.828 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009185/0.3111, allocations: 0.5105 MB / 469 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.0004389/0.3115, allocations: 59.09 kB / 469 MB, free: 1.254 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.3136, allocations: 1.201 MB / 470.2 MB, free: 16 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.3139, allocations: 286.8 kB / 470.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.3141, allocations: 63.41 kB / 470.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3141, allocations: 0 / 470.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of Templates: time 0.01462/0.3288, allocations: 10.32 MB / 480.9 MB, free: 5.316 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: 7.926611964125186]