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.001832/0.001832, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002263/0.002263, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.385/1.385, allocations: 230.6 MB / 258.3 MB, free: 7.953 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.001519/0.001519, allocations: 55.91 kB / 379.1 MB, free: 2.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2164, allocations: 53.35 MB / 432.4 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.006523/0.2229, allocations: 5.131 MB / 437.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003259/0.2262, allocations: 1.858 MB / 439.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004209/0.2266, allocations: 19.94 kB / 439.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002917/0.2295, allocations: 1.186 MB / 440.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.2312, allocations: 0.6329 MB / 441.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.2325, allocations: 0.6089 MB / 441.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001133/0.2337, allocations: 0.7544 MB / 442.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009598/0.2346, allocations: 0.5327 MB / 443.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005393/0.2352, allocations: 342.7 kB / 443.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005894/0.2358, allocations: 426.3 kB / 443.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.2359, allocations: 64 kB / 443.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005651/0.2364, allocations: 259.8 kB / 444.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001523/0.2366, allocations: 163.3 kB / 444.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004119/0.237, allocations: 374.1 kB / 444.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001337/0.2383, allocations: 1.031 MB / 445.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2384, allocations: 0 / 445.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2384, allocations: 0 / 445.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.416e-05/0.2384, allocations: 0 / 445.7 MB, free: 9.516 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.003927/0.2423, allocations: 1.324 MB / 447.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2423, allocations: 8.031 kB / 447.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005675/0.248, allocations: 0.7926 MB / 447.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006872/0.2487, allocations: 358.6 kB / 448.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.307e-05/0.2488, allocations: 58.38 kB / 448.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.2489, allocations: 76.12 kB / 448.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.2504, allocations: 0.7726 MB / 449.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.2504, allocations: 7.953 kB / 449.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.688e-05/0.2505, allocations: 32 kB / 449.2 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.2505, allocations: 20 kB / 449.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.2522, allocations: 0.9096 MB / 450.1 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004237/0.2564, allocations: 2.521 MB / 452.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.2582, allocations: 0.7789 MB / 453.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005383/0.2588, allocations: 295.2 kB / 453.7 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.2589, allocations: 28.61 kB / 453.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/0.2589, allocations: 43.22 kB / 453.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.204e-06/0.2589, allocations: 0 / 453.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003637/0.2626, allocations: 1.255 MB / 455 MB, free: 72 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.2626, allocations: 60.06 kB / 455.1 MB, free: 0 / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003451/0.263, allocations: 300.1 kB / 455.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.263, allocations: 37.7 kB / 455.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.2632, allocations: 292.7 kB / 455.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.2634, allocations: 265.7 kB / 455.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.2636, allocations: 130.6 kB / 456.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.2638, allocations: 350.7 kB / 456.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004682/0.2642, allocations: 237.9 kB / 456.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000576/0.2648, allocations: 370.5 kB / 457 MB, free: 13.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.2659, allocations: 0.6259 MB / 457.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.2659, allocations: 7.984 kB / 457.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001813/0.2678, allocations: 0.8647 MB / 458.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.2678, allocations: 8 kB / 458.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.2678, allocations: 7.938 kB / 458.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007664/0.2686, allocations: 203.2 kB / 458.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005507/0.2691, allocations: 139.8 kB / 458.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003637/0.2727, allocations: 2.601 MB / 461.5 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004488/0.2732, allocations: 75.48 kB / 461.5 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.792e-05/0.2732, allocations: 28 kB / 461.6 MB, free: 9.266 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.0003228/0.2736, allocations: 197.7 kB / 461.8 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.2737, allocations: 47.67 kB / 461.8 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.2757, allocations: 0.8976 MB / 462.7 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.2757, allocations: 11.94 kB / 462.7 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2757, allocations: 0 / 462.7 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.2757, allocations: 7.984 kB / 462.7 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002904/0.2786, allocations: 1.663 MB / 464.4 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2786, allocations: 0 / 464.4 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004924/0.2791, allocations: 107.9 kB / 464.5 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007127/0.2798, allocations: 200.7 kB / 464.7 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/0.2798, allocations: 23.98 kB / 464.7 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003473/0.2833, allocations: 2.613 MB / 467.3 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2833, allocations: 3.984 kB / 467.3 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.2858, allocations: 1.257 MB / 468.6 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.2859, allocations: 59.55 kB / 468.6 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/0.286, allocations: 12 kB / 468.6 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/0.2863, allocations: 31.92 kB / 468.7 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/0.2864, allocations: 64.47 kB / 468.7 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/0.2865, allocations: 20 kB / 468.8 MB, free: 1.855 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002321/0.2867, allocations: 207.1 kB / 469 MB, free: 1.652 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2867, allocations: 0 / 469 MB, free: 1.652 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007766/0.2875, allocations: 243.6 kB / 469.2 MB, free: 1.414 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.0002736/0.2878, allocations: 151.2 kB / 469.3 MB, free: 1.254 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.2894, allocations: 0.8009 MB / 470.2 MB, free: 452 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2894, allocations: 0 / 470.2 MB, free: 452 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009235/0.2903, allocations: 0.5101 MB / 470.7 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.2907, allocations: 61.41 kB / 470.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.2929, allocations: 1.205 MB / 471.9 MB, free: 14.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005853/0.2935, allocations: 0.8931 MB / 472.8 MB, free: 13.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.2937, allocations: 55.42 kB / 472.9 MB, free: 13.64 MB / 382.1 MB Notification: Performance of SimCode: time 6.22e-07/0.2937, allocations: 0 / 472.9 MB, free: 13.64 MB / 382.1 MB Notification: Performance of Templates: time 0.01488/0.3086, allocations: 10.24 MB / 483.1 MB, free: 3.398 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/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: 7.513396098976955]