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.001279/0.001279, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001415/0.001415, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.423/1.423, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.001597/0.001597, allocations: 47.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2162, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.006182/0.2224, allocations: 4.55 MB / 436.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002991/0.2254, allocations: 1.725 MB / 438.6 MB, free: 416 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.2256, allocations: 16 kB / 438.6 MB, free: 400 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002663/0.2282, allocations: 1.104 MB / 439.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.2297, allocations: 0.5946 MB / 440.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.2311, allocations: 0.5857 MB / 440.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009271/0.232, allocations: 0.7544 MB / 441.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008124/0.2328, allocations: 0.535 MB / 442.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004358/0.2332, allocations: 338.7 kB / 442.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004849/0.2337, allocations: 422.3 kB / 442.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.2338, allocations: 63.98 kB / 443 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004809/0.2343, allocations: 247.8 kB / 443.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.2345, allocations: 171.4 kB / 443.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002976/0.2348, allocations: 306.5 kB / 443.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.236, allocations: 1.039 MB / 444.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.236, allocations: 0 / 444.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.236, allocations: 0 / 444.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.236, allocations: 0 / 444.8 MB, free: 10.25 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.003952/0.2399, allocations: 1.324 MB / 446.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.24, allocations: 12.03 kB / 446.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006185/0.2461, allocations: 0.7848 MB / 446.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006736/0.2468, allocations: 350.7 kB / 447.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-05/0.2469, allocations: 58.38 kB / 447.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.247, allocations: 88.06 kB / 447.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.2486, allocations: 0.8267 MB / 448.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.149e-05/0.2486, allocations: 7.953 kB / 448.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.982e-05/0.2487, allocations: 28 kB / 448.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.2487, allocations: 20 kB / 448.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.2504, allocations: 0.8979 MB / 449.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003978/0.2544, allocations: 2.198 MB / 451.3 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001879/0.2563, allocations: 0.7672 MB / 452.1 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005458/0.2568, allocations: 295.2 kB / 452.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.725e-05/0.2569, allocations: 32.56 kB / 452.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.257, allocations: 39.22 kB / 452.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.244e-06/0.257, allocations: 0 / 452.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003758/0.2607, allocations: 1.255 MB / 453.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.2608, allocations: 60.06 kB / 453.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.261, allocations: 252.9 kB / 454 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.231e-05/0.2611, allocations: 41.7 kB / 454.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.2613, allocations: 300.6 kB / 454.4 MB, free: 440 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.2615, allocations: 261.7 kB / 454.6 MB, free: 176 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.2617, allocations: 130.6 kB / 454.7 MB, free: 40 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.2619, allocations: 350.7 kB / 455.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004973/0.2624, allocations: 237.9 kB / 455.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005827/0.2629, allocations: 362.5 kB / 455.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.2641, allocations: 0.622 MB / 456.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.2641, allocations: 4 kB / 456.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001851/0.2659, allocations: 0.8569 MB / 457.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2659, allocations: 4 kB / 457.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.2659, allocations: 4 kB / 457.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008134/0.2668, allocations: 212.7 kB / 457.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005759/0.2673, allocations: 135.8 kB / 457.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/0.2708, allocations: 2.546 MB / 460.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/0.2712, allocations: 71.55 kB / 460.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.772e-05/0.2712, allocations: 27.98 kB / 460.1 MB, free: 10.44 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.000258/0.2715, allocations: 197.7 kB / 460.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.419e-05/0.2716, allocations: 47.77 kB / 460.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.2736, allocations: 0.8897 MB / 461.3 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.2736, allocations: 8 kB / 461.3 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2736, allocations: 4 kB / 461.3 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.2736, allocations: 7.922 kB / 461.3 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/0.2764, allocations: 1.473 MB / 462.8 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2764, allocations: 0 / 462.8 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005401/0.2769, allocations: 111.9 kB / 462.9 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007423/0.2777, allocations: 200.7 kB / 463.1 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.012e-05/0.2777, allocations: 23.92 kB / 463.1 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003392/0.2811, allocations: 2.542 MB / 465.6 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2811, allocations: 0 / 465.6 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/0.2836, allocations: 1.25 MB / 466.9 MB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.502e-05/0.2836, allocations: 59.61 kB / 466.9 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.663e-05/0.2837, allocations: 15.94 kB / 467 MB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000374/0.2841, allocations: 27.92 kB / 467 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.2842, allocations: 56.55 kB / 467 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/0.2843, allocations: 23.98 kB / 467.1 MB, free: 3.332 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001894/0.2844, allocations: 176.5 kB / 467.2 MB, free: 3.156 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2844, allocations: 0 / 467.2 MB, free: 3.156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000853/0.2853, allocations: 243.5 kB / 467.5 MB, free: 2.918 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.0003349/0.2856, allocations: 150.5 kB / 467.6 MB, free: 2.766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001937/0.2876, allocations: 0.8089 MB / 468.4 MB, free: 1.941 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.2876, allocations: 256 / 468.4 MB, free: 1.941 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000985/0.2886, allocations: 0.5137 MB / 468.9 MB, free: 1.418 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/0.2891, allocations: 60.44 kB / 469 MB, free: 1.359 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.2913, allocations: 1.168 MB / 470.2 MB, free: 164 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.2917, allocations: 286.9 kB / 470.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003059/0.292, allocations: 76.39 kB / 470.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.2921, allocations: 47.34 kB / 470.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.222e-06/0.2921, allocations: 0 / 470.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of Templates: time 0.01617/0.3083, allocations: 8.274 MB / 478.9 MB, free: 7.539 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 -s gbode -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/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_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.619792117999168]