Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 112.3 kB / 17.74 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 187 kB / 18.67 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009754/0.0009754, allocations: 47.92 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.237, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.004903/0.2419, allocations: 3.941 MB / 405.3 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002472/0.2444, allocations: 1.577 MB / 406.9 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001997/0.2446, allocations: 12 kB / 406.9 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001663/0.2463, allocations: 0.7722 MB / 407.7 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.2474, allocations: 0.5246 MB / 408.2 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.2484, allocations: 0.548 MB / 408.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006956/0.2491, allocations: 0.537 MB / 409.3 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007711/0.2499, allocations: 497.1 kB / 409.8 MB, free: 448 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003564/0.2503, allocations: 239.1 kB / 410 MB, free: 208 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004028/0.2507, allocations: 286.8 kB / 410.3 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.2508, allocations: 52 kB / 410.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004511/0.2512, allocations: 247.8 kB / 410.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.083e-05/0.2513, allocations: 123.5 kB / 410.7 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002764/0.2516, allocations: 270.6 kB / 411 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008897/0.2525, allocations: 0.7866 MB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2525, allocations: 0 / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.2526, allocations: 4 kB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.2526, allocations: 3.938 kB / 411.8 MB, free: 14.45 MB / 334.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.002262/0.2548, allocations: 0.952 MB / 412.7 MB, free: 13.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.2549, allocations: 12.03 kB / 412.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002768/0.2577, allocations: 399.9 kB / 413.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005813/0.2583, allocations: 369.3 kB / 413.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/0.2583, allocations: 45.69 kB / 413.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.932e-05/0.2584, allocations: 63.94 kB / 413.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.2595, allocations: 0.6276 MB / 414.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.2595, allocations: 3.906 kB / 414.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.668e-05/0.2596, allocations: 32 kB / 414.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.2596, allocations: 12 kB / 414.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.2607, allocations: 0.5751 MB / 414.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002992/0.2637, allocations: 2.149 MB / 417 MB, free: 8.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.2652, allocations: 1.183 MB / 418.2 MB, free: 7.617 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.2656, allocations: 192.7 kB / 418.4 MB, free: 7.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.722e-05/0.2657, allocations: 97.39 kB / 418.5 MB, free: 7.312 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.2657, allocations: 42.56 kB / 418.5 MB, free: 7.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 2.224e-06/0.2657, allocations: 3.938 kB / 418.5 MB, free: 7.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.001626/0.2673, allocations: 0.6824 MB / 419.2 MB, free: 6.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.2674, allocations: 55.41 kB / 419.3 MB, free: 6.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.2677, allocations: 266.6 kB / 419.5 MB, free: 6.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.2677, allocations: 29.7 kB / 419.5 MB, free: 6.184 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.2679, allocations: 256.2 kB / 419.8 MB, free: 5.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.268, allocations: 149.8 kB / 419.9 MB, free: 5.777 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.2681, allocations: 86.16 kB / 420 MB, free: 5.684 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2683, allocations: 342.8 kB / 420.4 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.2686, allocations: 155 kB / 420.5 MB, free: 5.188 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004177/0.2691, allocations: 253.9 kB / 420.8 MB, free: 4.891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007534/0.2698, allocations: 429.8 kB / 421.2 MB, free: 4.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.2698, allocations: 0 / 421.2 MB, free: 4.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001028/0.2709, allocations: 0.5254 MB / 421.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.2709, allocations: 8.391 kB / 421.7 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.2709, allocations: 11.94 kB / 421.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002476/0.2712, allocations: 60.83 kB / 421.8 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.2716, allocations: 99.83 kB / 421.9 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/0.2732, allocations: 1.759 MB / 423.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.2735, allocations: 63.36 kB / 423.7 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/0.2736, allocations: 24 kB / 423.7 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004289/0.274, allocations: 273.2 kB / 424 MB, free: 1.465 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003559/0.2744, allocations: 253.5 kB / 424.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006533/0.275, allocations: 415.9 kB / 424.6 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.797e-06/0.275, allocations: 8 kB / 424.7 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009463/0.276, allocations: 0.5013 MB / 425.2 MB, free: 212 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.276, allocations: 15.92 kB / 425.2 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.276, allocations: 4 kB / 425.2 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001641/0.2762, allocations: 56.83 kB / 425.2 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.2766, allocations: 91.83 kB / 425.3 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.278, allocations: 1.763 MB / 427.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.2784, allocations: 43.73 kB / 427.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.2784, allocations: 20.12 kB / 427.1 MB, free: 14.07 MB / 350.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.0001778/0.2786, allocations: 208.1 kB / 427.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.266e-05/0.2787, allocations: 39.56 kB / 427.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.2797, allocations: 0.5045 MB / 427.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.2798, allocations: 8 kB / 427.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2798, allocations: 0 / 427.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2798, allocations: 0 / 427.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.2815, allocations: 1.08 MB / 429 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2815, allocations: 0 / 429 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003598/0.2818, allocations: 79.89 kB / 429.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001722/0.282, allocations: 52.77 kB / 429.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/0.2821, allocations: 15.98 kB / 429.1 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/0.2835, allocations: 1.759 MB / 430.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2835, allocations: 128 / 430.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.2848, allocations: 0.7502 MB / 431.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.285, allocations: 152.5 kB / 431.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.998e-05/0.285, allocations: 8 kB / 431.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.2853, allocations: 19.98 kB / 431.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.746e-05/0.2854, allocations: 32.39 kB / 431.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.2854, allocations: 16.06 kB / 431.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00018/0.2856, allocations: 198 kB / 432.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2856, allocations: 0 / 432.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008258/0.2864, allocations: 243.1 kB / 432.3 MB, free: 8.672 MB / 350.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.0002466/0.2867, allocations: 131.2 kB / 432.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00159/0.2883, allocations: 0.8794 MB / 433.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2883, allocations: 1.375 kB / 433.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005259/0.2888, allocations: 349.1 kB / 433.6 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.2892, allocations: 41.91 kB / 433.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.2907, allocations: 0.8969 MB / 434.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.2911, allocations: 0.8171 MB / 435.4 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.2912, allocations: 47.42 kB / 435.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2912, allocations: 0 / 435.4 MB, free: 5.426 MB / 350.1 MB Notification: Performance of Templates: time 0.01011/0.3013, allocations: 7.287 MB / 442.7 MB, free: 14.13 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches