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.001466/0.001466, allocations: 85.94 kB / 20.68 MB, free: 1.035 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.001624/0.001624, allocations: 158.2 kB / 23.95 MB, free: 4.168 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.501/1.501, allocations: 177 MB / 204.1 MB, free: 9.188 MB / 190.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 1.282e-06/1.282e-06, allocations: 0 / 325 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.305e-05, allocations: 3.25 kB / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005753/0.005776, allocations: 3.648 MB / 328.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003431/0.009207, allocations: 1.533 MB / 330.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005262/0.009733, allocations: 15.62 kB / 330.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002271/0.012, allocations: 0.7553 MB / 331 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.01338, allocations: 375.5 kB / 331.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.015, allocations: 0.6447 MB / 332 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.01605, allocations: 0.5583 MB / 332.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009274/0.01698, allocations: 451.3 kB / 333 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007404/0.01772, allocations: 351.3 kB / 333.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004503/0.01817, allocations: 220.9 kB / 333.5 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.01831, allocations: 52.03 kB / 333.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006607/0.01897, allocations: 246.3 kB / 333.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.01911, allocations: 123.3 kB / 333.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003/0.01941, allocations: 180.6 kB / 334.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.02077, allocations: 0.8325 MB / 335 MB, free: 9.992 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.02077, allocations: 1.25 kB / 335 MB, free: 9.992 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.02077, allocations: 0 / 335 MB, free: 9.992 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.761e-05/0.0208, allocations: 0 / 335 MB, free: 9.992 MB / 302.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.002701/0.0235, allocations: 0.9023 MB / 335.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.02354, allocations: 12.67 kB / 335.9 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003055/0.02659, allocations: 384.6 kB / 336.2 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007656/0.02736, allocations: 303.4 kB / 336.5 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.526e-05/0.02742, allocations: 49 kB / 336.6 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.02754, allocations: 58.84 kB / 336.6 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.02892, allocations: 0.6771 MB / 337.3 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/0.02896, allocations: 5.469 kB / 337.3 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.636e-05/0.02902, allocations: 20.72 kB / 337.3 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.02904, allocations: 14.53 kB / 337.4 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.03038, allocations: 0.5711 MB / 337.9 MB, free: 8.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0035/0.03388, allocations: 1.759 MB / 339.7 MB, free: 6.234 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.03523, allocations: 476.2 kB / 340.2 MB, free: 5.758 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003947/0.03562, allocations: 172.8 kB / 340.3 MB, free: 5.586 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.03572, allocations: 19.98 kB / 340.3 MB, free: 5.566 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.03576, allocations: 34.56 kB / 340.4 MB, free: 5.523 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.344e-06/0.03576, allocations: 4 kB / 340.4 MB, free: 5.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001807/0.03757, allocations: 0.5967 MB / 341 MB, free: 4.914 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.03762, allocations: 55.41 kB / 341 MB, free: 4.848 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.03785, allocations: 207.4 kB / 341.2 MB, free: 4.637 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/0.03789, allocations: 33.7 kB / 341.3 MB, free: 4.598 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.03807, allocations: 268.5 kB / 341.5 MB, free: 4.332 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.0382, allocations: 150.7 kB / 341.7 MB, free: 4.184 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.03836, allocations: 90.12 kB / 341.8 MB, free: 4.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.03852, allocations: 342.8 kB / 342.1 MB, free: 3.746 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003834/0.0389, allocations: 146.8 kB / 342.2 MB, free: 3.602 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004585/0.03936, allocations: 253.3 kB / 342.5 MB, free: 3.305 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008907/0.04025, allocations: 437.7 kB / 342.9 MB, free: 2.836 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.04025, allocations: 0 / 342.9 MB, free: 2.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0012/0.04145, allocations: 0.522 MB / 343.4 MB, free: 2.305 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.04147, allocations: 8.062 kB / 343.5 MB, free: 2.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.04148, allocations: 4 kB / 343.5 MB, free: 2.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000265/0.04175, allocations: 64.7 kB / 343.5 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/0.04221, allocations: 99.88 kB / 343.6 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.04394, allocations: 1.629 MB / 345.2 MB, free: 408 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.04428, allocations: 43.66 kB / 345.3 MB, free: 364 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.346e-05/0.04433, allocations: 23.98 kB / 345.3 MB, free: 340 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004864/0.04481, allocations: 269.1 kB / 345.6 MB, free: 68 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004442/0.04526, allocations: 248.9 kB / 345.8 MB, free: 15.78 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007833/0.04604, allocations: 427.7 kB / 346.2 MB, free: 15.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.825e-06/0.04604, allocations: 7.938 kB / 346.2 MB, free: 15.31 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001099/0.04714, allocations: 0.5055 MB / 346.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.04716, allocations: 8.062 kB / 346.8 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.04716, allocations: 4 kB / 346.8 MB, free: 14.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001927/0.04736, allocations: 56.83 kB / 346.8 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004451/0.0478, allocations: 95.88 kB / 346.9 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/0.04944, allocations: 1.629 MB / 348.5 MB, free: 12.9 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003157/0.04976, allocations: 39.73 kB / 348.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.0498, allocations: 23.98 kB / 348.6 MB, free: 12.84 MB / 318.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.0001947/0.04999, allocations: 208.1 kB / 348.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.026e-05/0.05007, allocations: 23.86 kB / 348.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/0.0513, allocations: 0.5017 MB / 349.3 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.05131, allocations: 4 kB / 349.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.05131, allocations: 4 kB / 349.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/0.05133, allocations: 3.984 kB / 349.3 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.0531, allocations: 0.9216 MB / 350.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.0531, allocations: 0 / 350.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003988/0.0535, allocations: 79.89 kB / 350.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001895/0.05369, allocations: 60.77 kB / 350.4 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.05372, allocations: 7.984 kB / 350.4 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.05534, allocations: 1.618 MB / 352 MB, free: 9.254 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.05535, allocations: 11.91 kB / 352 MB, free: 9.242 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001526/0.05687, allocations: 0.7407 MB / 352.8 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.05701, allocations: 59.73 kB / 352.8 MB, free: 8.422 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.975e-05/0.05706, allocations: 11.94 kB / 352.8 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.05734, allocations: 19.98 kB / 352.9 MB, free: 8.391 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.738e-05/0.05742, allocations: 32.44 kB / 352.9 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.05745, allocations: 16.06 kB / 352.9 MB, free: 8.344 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001339/0.05759, allocations: 136.4 kB / 353 MB, free: 8.211 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.05759, allocations: 0 / 353 MB, free: 8.211 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009521/0.05854, allocations: 259.1 kB / 353.3 MB, free: 7.957 MB / 318.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.0002718/0.05881, allocations: 142.5 kB / 353.4 MB, free: 7.812 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001892/0.0607, allocations: 0.8375 MB / 354.3 MB, free: 6.949 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.06071, allocations: 0 / 354.3 MB, free: 6.949 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005967/0.0613, allocations: 322.7 kB / 354.6 MB, free: 6.621 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.0617, allocations: 49.95 kB / 354.6 MB, free: 6.578 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.06325, allocations: 0.8279 MB / 355.5 MB, free: 5.719 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.06348, allocations: 217.8 kB / 355.7 MB, free: 5.484 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00027/0.06375, allocations: 66.92 kB / 355.7 MB, free: 5.422 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.06386, allocations: 40.48 kB / 355.8 MB, free: 5.383 MB / 318.1 MB Notification: Performance of SimCode: time 6.12e-07/0.06386, allocations: 0 / 355.8 MB, free: 5.383 MB / 318.1 MB Notification: Performance of Templates: time 0.01046/0.07432, allocations: 4.468 MB / 360.3 MB, free: 0.9609 MB / 318.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.486634325236082]