Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001974/0.001974, allocations: 115.8 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002226/0.002226, allocations: 216.6 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 8.016 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 51.92 kB / 378.3 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2267, allocations: 53.37 MB / 431.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.00684/0.2336, allocations: 5.123 MB / 436.8 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003497/0.2371, allocations: 1.865 MB / 438.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000268/0.2373, allocations: 16 kB / 438.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002899/0.2402, allocations: 1.182 MB / 439.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.2418, allocations: 0.6287 MB / 440.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.2432, allocations: 0.612 MB / 441.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009469/0.2441, allocations: 0.7544 MB / 441.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008173/0.2449, allocations: 0.5365 MB / 442.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000489/0.2454, allocations: 334.7 kB / 442.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005566/0.246, allocations: 426.3 kB / 443.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-05/0.2461, allocations: 63.94 kB / 443.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005955/0.2467, allocations: 255.8 kB / 443.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.2468, allocations: 175.3 kB / 443.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003626/0.2472, allocations: 374.1 kB / 444 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.2485, allocations: 1.027 MB / 445 MB, free: 9.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2485, allocations: 0 / 445 MB, free: 9.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2485, allocations: 0 / 445 MB, free: 9.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.2485, allocations: 0 / 445 MB, free: 9.531 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.003926/0.2524, allocations: 1.332 MB / 446.3 MB, free: 8.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.2525, allocations: 12.02 kB / 446.3 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006104/0.2586, allocations: 0.777 MB / 447.1 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006513/0.2592, allocations: 350.7 kB / 447.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.615e-05/0.2593, allocations: 62.31 kB / 447.5 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.2594, allocations: 84.12 kB / 447.6 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.2609, allocations: 0.7726 MB / 448.4 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.2609, allocations: 7.938 kB / 448.4 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.391e-05/0.261, allocations: 36 kB / 448.4 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.261, allocations: 20 kB / 448.4 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.2627, allocations: 0.9019 MB / 449.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004212/0.2669, allocations: 2.529 MB / 451.9 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/0.2687, allocations: 0.775 MB / 452.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005363/0.2693, allocations: 291.2 kB / 452.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.2694, allocations: 36.61 kB / 452.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.2694, allocations: 39.22 kB / 453 MB, free: 1.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.375e-06/0.2694, allocations: 0 / 453 MB, free: 1.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003755/0.2732, allocations: 1.263 MB / 454.2 MB, free: 80 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.2732, allocations: 60.06 kB / 454.3 MB, free: 8 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003775/0.2736, allocations: 296.1 kB / 454.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.2737, allocations: 33.7 kB / 454.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.2739, allocations: 300.7 kB / 454.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/0.2741, allocations: 257.7 kB / 455.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.2743, allocations: 130.6 kB / 455.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.2745, allocations: 354.7 kB / 455.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004879/0.275, allocations: 237.9 kB / 455.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005892/0.2756, allocations: 362.5 kB / 456.2 MB, free: 14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.2768, allocations: 0.6298 MB / 456.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2768, allocations: 4 kB / 456.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001909/0.2787, allocations: 0.8647 MB / 457.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2787, allocations: 4 kB / 457.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.2787, allocations: 7.938 kB / 457.7 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000831/0.2795, allocations: 212 kB / 458 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005748/0.2801, allocations: 131.8 kB / 458.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003581/0.2837, allocations: 2.609 MB / 460.7 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000429/0.2841, allocations: 71.48 kB / 460.8 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-05/0.2842, allocations: 35.98 kB / 460.8 MB, free: 9.277 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.0003024/0.2845, allocations: 193.7 kB / 461 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.2846, allocations: 55.66 kB / 461 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/0.2866, allocations: 0.8859 MB / 461.9 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.2866, allocations: 11.94 kB / 461.9 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2866, allocations: 4 kB / 461.9 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.2866, allocations: 7.984 kB / 461.9 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.2896, allocations: 1.663 MB / 463.6 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2896, allocations: 4 kB / 463.6 MB, free: 6.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005169/0.2901, allocations: 111.8 kB / 463.7 MB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007524/0.2908, allocations: 200.7 kB / 463.9 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.477e-05/0.2909, allocations: 19.98 kB / 463.9 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003586/0.2945, allocations: 2.609 MB / 466.5 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2945, allocations: 0 / 466.5 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/0.2969, allocations: 1.253 MB / 467.8 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.387e-05/0.297, allocations: 63.48 kB / 467.9 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.774e-05/0.2971, allocations: 16 kB / 467.9 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/0.2974, allocations: 31.98 kB / 467.9 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.2975, allocations: 60.53 kB / 468 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.003e-05/0.2976, allocations: 16.09 kB / 468 MB, free: 1.879 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002286/0.2978, allocations: 211.1 kB / 468.2 MB, free: 1.672 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2978, allocations: 0 / 468.2 MB, free: 1.672 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007728/0.2986, allocations: 243.5 kB / 468.4 MB, free: 1.434 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.0002555/0.2988, allocations: 153.3 kB / 468.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.3004, allocations: 0.7975 MB / 469.4 MB, free: 476 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3004, allocations: 0 / 469.4 MB, free: 476 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008926/0.3013, allocations: 0.5139 MB / 469.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.3018, allocations: 64.89 kB / 470 MB, free: 15.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.3038, allocations: 1.164 MB / 471.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000527/0.3043, allocations: 0.8931 MB / 472 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002657/0.3046, allocations: 76.53 kB / 472.1 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.3047, allocations: 55.41 kB / 472.1 MB, free: 13.62 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3047, allocations: 0 / 472.1 MB, free: 13.62 MB / 382.1 MB Notification: Performance of Templates: time 0.01625/0.321, allocations: 8.072 MB / 480.2 MB, free: 5.578 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.860398873919621]