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.0009261/0.0009261, allocations: 85.91 kB / 22.22 MB, free: 2.281 MB / 18.57 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.0009111/0.0009111, allocations: 158.4 kB / 25.61 MB, free: 8.914 MB / 18.57 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 0.9333/0.9333, allocations: 177 MB / 205.9 MB, free: 4.43 MB / 186.7 MB " [Timeout remaining time 179] 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.142e-06/1.142e-06, allocations: 0 / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.299e-05, allocations: 2.312 kB / 274.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.003577/0.0036, allocations: 3.842 MB / 278 MB, free: 428 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00229/0.005891, allocations: 1.578 MB / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.006042, allocations: 12 kB / 279.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009442/0.006986, allocations: 0.7954 MB / 280.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005322/0.007518, allocations: 377.7 kB / 280.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006588/0.008177, allocations: 0.6382 MB / 281.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005811/0.008758, allocations: 0.5407 MB / 281.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006363/0.009394, allocations: 452.1 kB / 282.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004185/0.009813, allocations: 359.1 kB / 282.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.01008, allocations: 223.4 kB / 282.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.945e-05/0.01015, allocations: 48 kB / 282.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003768/0.01052, allocations: 239.7 kB / 283.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.6e-05/0.01061, allocations: 119.5 kB / 283.3 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.01077, allocations: 183.5 kB / 283.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006885/0.01146, allocations: 0.5644 MB / 284 MB, free: 10.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.01146, allocations: 4 kB / 284 MB, free: 10.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.01146, allocations: 3.938 kB / 284.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.01147, allocations: 0 / 284.1 MB, free: 10.3 MB / 266.7 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.00165/0.01312, allocations: 0.9988 MB / 285.1 MB, free: 9.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.01315, allocations: 8.031 kB / 285.1 MB, free: 9.262 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002348/0.0155, allocations: 0.4883 MB / 285.5 MB, free: 8.773 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.0159, allocations: 303.7 kB / 285.8 MB, free: 8.453 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/0.01595, allocations: 45.69 kB / 285.9 MB, free: 8.406 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.634e-05/0.01604, allocations: 64.33 kB / 286 MB, free: 8.344 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009208/0.01696, allocations: 405.1 kB / 286.3 MB, free: 7.938 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.01699, allocations: 3.984 kB / 286.4 MB, free: 7.934 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.215e-05/0.01703, allocations: 24 kB / 286.4 MB, free: 7.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.01704, allocations: 16 kB / 286.4 MB, free: 7.895 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004173/0.01746, allocations: 262.1 kB / 286.6 MB, free: 7.637 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.01926, allocations: 1.785 MB / 288.4 MB, free: 5.754 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005492/0.01981, allocations: 417.8 kB / 288.8 MB, free: 5.328 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.986e-05/0.0199, allocations: 95.62 kB / 288.9 MB, free: 5.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.231e-05/0.01995, allocations: 19.98 kB / 289 MB, free: 5.211 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.01997, allocations: 41.39 kB / 289 MB, free: 5.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.513e-06/0.01997, allocations: 0 / 289 MB, free: 5.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0005963/0.02057, allocations: 401.9 kB / 289.4 MB, free: 4.758 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.0206, allocations: 59.34 kB / 289.4 MB, free: 4.688 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.02072, allocations: 247 kB / 289.7 MB, free: 4.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.02074, allocations: 37.7 kB / 289.7 MB, free: 4.387 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.02085, allocations: 311.4 kB / 290 MB, free: 4.074 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.856e-05/0.02093, allocations: 166.6 kB / 290.2 MB, free: 3.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.678e-05/0.02102, allocations: 87.81 kB / 290.3 MB, free: 3.816 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.02113, allocations: 0.5079 MB / 290.8 MB, free: 3.297 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.067e-05/0.02121, allocations: 73.62 kB / 290.9 MB, free: 3.219 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.02135, allocations: 215.8 kB / 291.1 MB, free: 2.953 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.02159, allocations: 305.3 kB / 291.4 MB, free: 2.598 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.02159, allocations: 3.938 kB / 291.4 MB, free: 2.594 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004169/0.02201, allocations: 381 kB / 291.7 MB, free: 2.211 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.02202, allocations: 4 kB / 291.7 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.02203, allocations: 4 kB / 291.7 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001703/0.0222, allocations: 64.05 kB / 291.8 MB, free: 2.137 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.02239, allocations: 99.83 kB / 291.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/0.02359, allocations: 2.102 MB / 294 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.02371, allocations: 47.75 kB / 294.1 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.02373, allocations: 16 kB / 294.1 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001342/0.02387, allocations: 191.8 kB / 294.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001329/0.024, allocations: 208.5 kB / 294.5 MB, free: 15.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000226/0.02423, allocations: 307.2 kB / 294.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.224e-06/0.02423, allocations: 4 kB / 294.8 MB, free: 14.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.000368/0.0246, allocations: 360.5 kB / 295.1 MB, free: 14.58 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.595e-06/0.02461, allocations: 4 kB / 295.1 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.02461, allocations: 7.984 kB / 295.1 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001362/0.02475, allocations: 63.73 kB / 295.2 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.02494, allocations: 95.89 kB / 295.3 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009165/0.02585, allocations: 2.114 MB / 297.4 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.02596, allocations: 35.78 kB / 297.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.02598, allocations: 12 kB / 297.4 MB, free: 12.13 MB / 282.7 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.0001163/0.0261, allocations: 304 kB / 297.7 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.143e-05/0.02615, allocations: 43.81 kB / 297.8 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003895/0.02654, allocations: 348.5 kB / 298.1 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.02654, allocations: 7.938 kB / 298.1 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.02654, allocations: 4 kB / 298.1 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.02655, allocations: 0 / 298.1 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006457/0.02719, allocations: 0.7601 MB / 298.9 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.0272, allocations: 3.984 kB / 298.9 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.02737, allocations: 71.91 kB / 299 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001213/0.02749, allocations: 63.62 kB / 299 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.0275, allocations: 8 kB / 299 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.02858, allocations: 2.11 MB / 301.2 MB, free: 8.254 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02858, allocations: 4 kB / 301.2 MB, free: 8.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004551/0.02904, allocations: 0.525 MB / 301.7 MB, free: 7.699 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.581e-05/0.02911, allocations: 55.7 kB / 301.7 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.02913, allocations: 15.92 kB / 301.8 MB, free: 7.629 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.02924, allocations: 16 kB / 301.8 MB, free: 7.613 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.0293, allocations: 32.44 kB / 301.8 MB, free: 7.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.02931, allocations: 16.05 kB / 301.8 MB, free: 7.566 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.752e-05/0.02938, allocations: 160.3 kB / 302 MB, free: 7.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02938, allocations: 0 / 302 MB, free: 7.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000524/0.0299, allocations: 263.2 kB / 302.2 MB, free: 7.152 MB / 282.7 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.0001827/0.03008, allocations: 139.1 kB / 302.4 MB, free: 7.008 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006474/0.03073, allocations: 0.7708 MB / 303.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.03073, allocations: 0 / 303.1 MB, free: 6.195 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.03094, allocations: 321.2 kB / 303.4 MB, free: 5.859 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.0312, allocations: 44.8 kB / 303.5 MB, free: 5.816 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009903/0.03219, allocations: 0.775 MB / 304.3 MB, free: 5.012 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.849e-05/0.03226, allocations: 119.1 kB / 304.4 MB, free: 4.879 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001626/0.03242, allocations: 66.92 kB / 304.4 MB, free: 4.812 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.03256, allocations: 126.2 kB / 304.6 MB, free: 4.688 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.03256, allocations: 0 / 304.6 MB, free: 4.688 MB / 282.7 MB Notification: Performance of Templates: time 0.007593/0.04016, allocations: 5.136 MB / 309.7 MB, free: 15.62 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7240208028815687]