Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.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.001786/0.001786, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00221/0.00221, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.466/1.466, allocations: 230.5 MB / 257.4 MB, free: 7.781 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.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 67.88 kB / 378.2 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2296, allocations: 53.41 MB / 431.6 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005487/0.235, allocations: 3.65 MB / 435.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002726/0.2378, allocations: 1.533 MB / 436.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.238, allocations: 15.94 kB / 436.8 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.2398, allocations: 0.7195 MB / 437.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008834/0.2407, allocations: 365.9 kB / 437.9 MB, free: 400 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.242, allocations: 0.6373 MB / 438.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007735/0.2428, allocations: 0.5331 MB / 439.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006995/0.2435, allocations: 460.1 kB / 439.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003436/0.2438, allocations: 243.1 kB / 439.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003173/0.2442, allocations: 254.8 kB / 440 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.384e-05/0.2442, allocations: 52 kB / 440.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004709/0.2447, allocations: 243.8 kB / 440.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.2448, allocations: 119.5 kB / 440.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002076/0.245, allocations: 219 kB / 440.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00094/0.246, allocations: 0.8095 MB / 441.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.246, allocations: 0 / 441.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.246, allocations: 4 kB / 441.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.246, allocations: 0 / 441.4 MB, free: 12.84 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002099/0.2481, allocations: 0.895 MB / 442.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.2481, allocations: 11.98 kB / 442.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00288/0.251, allocations: 396.2 kB / 442.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005884/0.2516, allocations: 295.6 kB / 443 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.818e-05/0.2516, allocations: 45.69 kB / 443.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.597e-05/0.2517, allocations: 63.94 kB / 443.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.2529, allocations: 0.6778 MB / 443.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.2529, allocations: 4 kB / 443.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.448e-05/0.253, allocations: 20 kB / 443.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.253, allocations: 19.98 kB / 443.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.2545, allocations: 0.5673 MB / 444.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004453/0.259, allocations: 1.761 MB / 446.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.2608, allocations: 481.4 kB / 446.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005357/0.2613, allocations: 172.8 kB / 446.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.2614, allocations: 19.98 kB / 446.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.2614, allocations: 38.56 kB / 446.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.435e-06/0.2614, allocations: 0 / 446.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002337/0.2638, allocations: 0.5967 MB / 447.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.2638, allocations: 59.34 kB / 447.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.2641, allocations: 207.1 kB / 447.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.686e-05/0.2642, allocations: 29.7 kB / 447.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.2644, allocations: 264.9 kB / 448 MB, free: 6.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.2646, allocations: 150.7 kB / 448.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/0.2648, allocations: 86.14 kB / 448.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.2649, allocations: 338.8 kB / 448.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000521/0.2655, allocations: 158.8 kB / 448.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006324/0.2661, allocations: 257.3 kB / 449 MB, free: 4.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.2673, allocations: 437.7 kB / 449.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.2673, allocations: 0 / 449.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001588/0.2689, allocations: 0.5177 MB / 449.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.2689, allocations: 4 kB / 449.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.2689, allocations: 4 kB / 449.9 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003154/0.2692, allocations: 61.22 kB / 450 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006034/0.2698, allocations: 99.89 kB / 450.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/0.272, allocations: 1.629 MB / 451.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004211/0.2724, allocations: 51.66 kB / 451.8 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-05/0.2724, allocations: 20 kB / 451.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006479/0.2731, allocations: 277.1 kB / 452.1 MB, free: 1.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005612/0.2736, allocations: 248.9 kB / 452.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001062/0.2747, allocations: 423.8 kB / 452.7 MB, free: 1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.13e-06/0.2747, allocations: 7.875 kB / 452.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001469/0.2762, allocations: 0.5052 MB / 453.2 MB, free: 488 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.2762, allocations: 8 kB / 453.3 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.2762, allocations: 8 kB / 453.3 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002292/0.2764, allocations: 65.17 kB / 453.3 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005608/0.277, allocations: 91.88 kB / 453.4 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.279, allocations: 1.613 MB / 455 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/0.2794, allocations: 47.66 kB / 455.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/0.2795, allocations: 20 kB / 455.1 MB, free: 14.53 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 (53): * Single equations (assignments): 52 * 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002202/0.2797, allocations: 208.2 kB / 455.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.2798, allocations: 31.78 kB / 455.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/0.2814, allocations: 0.5001 MB / 455.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.527e-06/0.2814, allocations: 8 kB / 455.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2814, allocations: 0 / 455.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2814, allocations: 0 / 455.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.2838, allocations: 0.9316 MB / 456.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2838, allocations: 128 / 456.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005441/0.2843, allocations: 83.89 kB / 456.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002215/0.2845, allocations: 48.83 kB / 456.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.956e-05/0.2846, allocations: 11.94 kB / 456.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.2866, allocations: 1.625 MB / 458.5 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2866, allocations: 0 / 458.5 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/0.2887, allocations: 0.7426 MB / 459.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.2888, allocations: 63.73 kB / 459.3 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.89e-05/0.2889, allocations: 11.98 kB / 459.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003668/0.2893, allocations: 19.98 kB / 459.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.871e-05/0.2894, allocations: 32.38 kB / 459.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.689e-05/0.2894, allocations: 8.125 kB / 459.4 MB, free: 10.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001795/0.2896, allocations: 144.4 kB / 459.5 MB, free: 9.887 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2896, allocations: 0 / 459.5 MB, free: 9.887 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0014/0.291, allocations: 259.1 kB / 459.8 MB, free: 9.633 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 (42): * Single equations (assignments): 41 * 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 {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002848/0.2913, allocations: 143.5 kB / 459.9 MB, free: 9.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001741/0.293, allocations: 0.8491 MB / 460.8 MB, free: 8.605 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.293, allocations: 0 / 460.8 MB, free: 8.605 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005342/0.2935, allocations: 317 kB / 461.1 MB, free: 8.285 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.2939, allocations: 31.98 kB / 461.1 MB, free: 8.254 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.2953, allocations: 0.8611 MB / 462 MB, free: 7.371 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.2955, allocations: 221.8 kB / 462.2 MB, free: 7.137 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002842/0.2958, allocations: 66.92 kB / 462.3 MB, free: 7.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.2959, allocations: 39.42 kB / 462.3 MB, free: 7.031 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2959, allocations: 0 / 462.3 MB, free: 7.031 MB / 366.1 MB Notification: Performance of Templates: time 0.01037/0.3063, allocations: 4.941 MB / 467.3 MB, free: 2.156 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.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.629330532625318]