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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001459/0.001459, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001785/0.001785, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 59.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2477, allocations: 50.55 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.004908/0.2527, allocations: 3.952 MB / 413.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002698/0.2554, allocations: 1.616 MB / 415.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002375/0.2557, allocations: 12 kB / 415.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001723/0.2575, allocations: 0.7777 MB / 416.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008806/0.2583, allocations: 373.6 kB / 416.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.2597, allocations: 0.6706 MB / 417.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007214/0.2604, allocations: 0.537 MB / 417.9 MB, free: 9.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007846/0.2612, allocations: 0.4959 MB / 418.4 MB, free: 9.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000403/0.2616, allocations: 235.1 kB / 418.6 MB, free: 8.926 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003825/0.262, allocations: 298.7 kB / 418.9 MB, free: 8.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.2621, allocations: 52 kB / 418.9 MB, free: 8.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000534/0.2626, allocations: 251.8 kB / 419.2 MB, free: 8.336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.2628, allocations: 123.6 kB / 419.3 MB, free: 8.215 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002714/0.263, allocations: 266.6 kB / 419.6 MB, free: 7.953 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009932/0.264, allocations: 0.8112 MB / 420.4 MB, free: 7.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2641, allocations: 0 / 420.4 MB, free: 7.141 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2641, allocations: 0 / 420.4 MB, free: 7.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.092e-05/0.2641, allocations: 0 / 420.4 MB, free: 7.141 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.002313/0.2664, allocations: 0.9559 MB / 421.3 MB, free: 6.133 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.2665, allocations: 8.031 kB / 421.3 MB, free: 6.125 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002891/0.2693, allocations: 403.9 kB / 421.7 MB, free: 5.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006241/0.27, allocations: 361.3 kB / 422.1 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.992e-05/0.27, allocations: 49.69 kB / 422.1 MB, free: 5.293 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.686e-05/0.2701, allocations: 63.94 kB / 422.2 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.2713, allocations: 0.6198 MB / 422.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.2714, allocations: 3.906 kB / 422.8 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-05/0.2714, allocations: 31.94 kB / 422.8 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.2714, allocations: 12 kB / 422.9 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.2726, allocations: 0.579 MB / 423.4 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003156/0.2757, allocations: 2.236 MB / 425.7 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.2772, allocations: 1.181 MB / 426.8 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003555/0.2775, allocations: 192.4 kB / 427 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001596/0.2777, allocations: 178.5 kB / 427.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.2778, allocations: 38.5 kB / 427.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.615e-06/0.2778, allocations: 0 / 427.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.00162/0.2794, allocations: 0.6863 MB / 427.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.2794, allocations: 55.41 kB / 428 MB, free: 14.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.2797, allocations: 266.6 kB / 428.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.2798, allocations: 37.64 kB / 428.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.2799, allocations: 244.2 kB / 428.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.28, allocations: 153.8 kB / 428.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.2802, allocations: 90.16 kB / 428.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2803, allocations: 342.8 kB / 429.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/0.2806, allocations: 151 kB / 429.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/0.281, allocations: 253.9 kB / 429.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007363/0.2818, allocations: 441.7 kB / 429.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.2818, allocations: 0 / 429.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001044/0.2828, allocations: 0.5217 MB / 430.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.2829, allocations: 8 kB / 430.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.2829, allocations: 4 kB / 430.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002637/0.2831, allocations: 57.17 kB / 430.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/0.2836, allocations: 95.89 kB / 430.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.285, allocations: 1.759 MB / 432.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.2854, allocations: 59.36 kB / 432.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.2854, allocations: 23.94 kB / 432.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004136/0.2858, allocations: 273.2 kB / 432.7 MB, free: 9.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003436/0.2862, allocations: 245.6 kB / 433 MB, free: 9.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006541/0.2869, allocations: 423.7 kB / 433.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.208e-06/0.2869, allocations: 0 / 433.4 MB, free: 9.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009707/0.2878, allocations: 0.5087 MB / 433.9 MB, free: 8.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2879, allocations: 11.94 kB / 433.9 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.2879, allocations: 4 kB / 433.9 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001714/0.2881, allocations: 57.23 kB / 433.9 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/0.2885, allocations: 99.83 kB / 434 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.2899, allocations: 1.759 MB / 435.8 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002928/0.2902, allocations: 43.67 kB / 435.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.2902, allocations: 16 kB / 435.9 MB, free: 6.59 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.0001543/0.2904, allocations: 215.7 kB / 436.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.475e-05/0.2905, allocations: 35.56 kB / 436.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.2916, allocations: 0.5083 MB / 436.6 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.2916, allocations: 4 kB / 436.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.2916, allocations: 0 / 436.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2916, allocations: 0 / 436.6 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.2932, allocations: 1.084 MB / 437.7 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.2932, allocations: 0 / 437.7 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/0.2936, allocations: 83.83 kB / 437.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001686/0.2938, allocations: 44.83 kB / 437.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.2938, allocations: 12 kB / 437.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/0.2953, allocations: 1.763 MB / 439.6 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2954, allocations: 0 / 439.6 MB, free: 2.629 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.2967, allocations: 0.7424 MB / 440.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.2969, allocations: 152.6 kB / 440.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/0.297, allocations: 12 kB / 440.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.2972, allocations: 15.98 kB / 440.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/0.2973, allocations: 32.39 kB / 440.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.2974, allocations: 12 kB / 440.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001727/0.2975, allocations: 194 kB / 440.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2975, allocations: 3.938 kB / 440.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008588/0.2984, allocations: 243.1 kB / 441 MB, free: 1.203 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.0002444/0.2987, allocations: 139.2 kB / 441.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001633/0.3003, allocations: 0.8803 MB / 442 MB, free: 156 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3003, allocations: 0 / 442 MB, free: 156 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005348/0.3009, allocations: 341 kB / 442.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.3013, allocations: 49.08 kB / 442.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.3027, allocations: 0.877 MB / 443.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.3031, allocations: 0.821 MB / 444.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.3033, allocations: 43.42 kB / 444.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3033, allocations: 0 / 444.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of Templates: time 0.01133/0.3146, allocations: 7.322 MB / 451.5 MB, free: 6.637 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches