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.001035/0.001035, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001086/0.001086, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 68.41 kB / 306.3 MB, free: 1.055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08508/0.08624, allocations: 50.54 MB / 356.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.005563/0.09185, allocations: 3.968 MB / 360.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.09457, allocations: 1.62 MB / 362.4 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.0948, allocations: 16 kB / 362.4 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001693/0.09656, allocations: 0.7277 MB / 363.1 MB, free: 8.164 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008153/0.09738, allocations: 322.6 kB / 363.4 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.09856, allocations: 0.6615 MB / 364.1 MB, free: 7.188 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005172/0.09909, allocations: 0.4903 MB / 364.6 MB, free: 6.695 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006487/0.09975, allocations: 442.5 kB / 365 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.1, allocations: 231.1 kB / 365.3 MB, free: 6.031 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.1003, allocations: 282.8 kB / 365.5 MB, free: 5.754 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.909e-05/0.1004, allocations: 40 kB / 365.6 MB, free: 5.715 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004001/0.1008, allocations: 239.8 kB / 365.8 MB, free: 5.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.933e-05/0.1009, allocations: 107.6 kB / 365.9 MB, free: 5.375 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.1011, allocations: 250.7 kB / 366.2 MB, free: 5.129 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000734/0.1018, allocations: 0.7905 MB / 366.9 MB, free: 4.336 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1018, allocations: 0 / 366.9 MB, free: 4.336 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1018, allocations: 4 kB / 366.9 MB, free: 4.332 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1019, allocations: 0 / 366.9 MB, free: 4.332 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.002261/0.1041, allocations: 0.991 MB / 367.9 MB, free: 3.293 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.1042, allocations: 8.031 kB / 367.9 MB, free: 3.285 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002925/0.1071, allocations: 411.9 kB / 368.3 MB, free: 2.883 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005086/0.1076, allocations: 357.3 kB / 368.7 MB, free: 2.496 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.006e-05/0.1077, allocations: 45.69 kB / 368.7 MB, free: 2.449 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.171e-05/0.1078, allocations: 59.94 kB / 368.8 MB, free: 2.391 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.109, allocations: 0.6979 MB / 369.5 MB, free: 1.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.109, allocations: 0 / 369.5 MB, free: 1.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.436e-05/0.1091, allocations: 31.98 kB / 369.5 MB, free: 1.648 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/0.1091, allocations: 21.31 kB / 369.6 MB, free: 1.629 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.1104, allocations: 0.6961 MB / 370.2 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1448/0.2552, allocations: 2.422 MB / 372.7 MB, free: 19.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.2565, allocations: 1.193 MB / 373.9 MB, free: 18.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004274/0.2569, allocations: 232.1 kB / 374.1 MB, free: 18.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.904e-05/0.257, allocations: 175.8 kB / 374.3 MB, free: 17.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.2571, allocations: 36.5 kB / 374.3 MB, free: 17.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.245e-06/0.2571, allocations: 0 / 374.3 MB, free: 17.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.001747/0.2588, allocations: 0.7964 MB / 375.1 MB, free: 17.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.2589, allocations: 61.3 kB / 375.2 MB, free: 17.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.2591, allocations: 272.5 kB / 375.4 MB, free: 17.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.2592, allocations: 35.89 kB / 375.5 MB, free: 17.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.2593, allocations: 246.3 kB / 375.7 MB, free: 17.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.2594, allocations: 151.4 kB / 375.8 MB, free: 16.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.2596, allocations: 92.31 kB / 375.9 MB, free: 16.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.109e-05/0.2596, allocations: 347.8 kB / 376.3 MB, free: 16.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/0.26, allocations: 199.9 kB / 376.5 MB, free: 16.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004057/0.2605, allocations: 295.4 kB / 376.8 MB, free: 16.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007678/0.2612, allocations: 499.8 kB / 377.2 MB, free: 16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2612, allocations: 5.031 kB / 377.2 MB, free: 16 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001086/0.2623, allocations: 0.6013 MB / 377.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.2624, allocations: 10.73 kB / 377.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2624, allocations: 4.125 kB / 377.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002276/0.2626, allocations: 51.69 kB / 377.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004267/0.263, allocations: 109.6 kB / 378 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.2641, allocations: 1.586 MB / 379.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/0.2644, allocations: 59.73 kB / 379.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/0.2645, allocations: 26.56 kB / 379.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004532/0.2649, allocations: 308.2 kB / 380 MB, free: 13.97 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003685/0.2653, allocations: 297.3 kB / 380.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006756/0.266, allocations: 498.7 kB / 380.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.796e-06/0.266, allocations: 1.406 kB / 380.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001023/0.267, allocations: 0.5916 MB / 381.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.2671, allocations: 10.56 kB / 381.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2671, allocations: 3.719 kB / 381.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00016/0.2672, allocations: 55.42 kB / 381.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.2677, allocations: 107.5 kB / 381.5 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009485/0.2686, allocations: 1.589 MB / 383.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/0.2689, allocations: 44.14 kB / 383.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.269, allocations: 22.42 kB / 383.2 MB, free: 11.62 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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.0001128/0.2691, allocations: 207.6 kB / 383.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.605e-05/0.2692, allocations: 35.62 kB / 383.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.2703, allocations: 0.5848 MB / 384 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.2703, allocations: 7.469 kB / 384 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2703, allocations: 9.125 kB / 384 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.2704, allocations: 2.766 kB / 384 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.2721, allocations: 1.218 MB / 385.2 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2721, allocations: 7.766 kB / 385.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003829/0.2725, allocations: 82.97 kB / 385.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001612/0.2727, allocations: 55.86 kB / 385.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.2727, allocations: 14.47 kB / 385.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009709/0.2737, allocations: 1.582 MB / 387 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2737, allocations: 4.062 kB / 387 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.2751, allocations: 0.8813 MB / 387.9 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.2753, allocations: 147.3 kB / 388 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.426e-05/0.2753, allocations: 14.72 kB / 388 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.2756, allocations: 22.52 kB / 388.1 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.503e-05/0.2757, allocations: 32.55 kB / 388.1 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/0.2758, allocations: 15.97 kB / 388.1 MB, free: 8.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.2759, allocations: 193.5 kB / 388.3 MB, free: 8.137 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2759, allocations: 0 / 388.3 MB, free: 8.137 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008626/0.2768, allocations: 249.1 kB / 388.5 MB, free: 8.07 MB / 302.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.0002022/0.277, allocations: 142.7 kB / 388.7 MB, free: 7.969 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.2787, allocations: 1.011 MB / 389.7 MB, free: 7.441 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2787, allocations: 5.031 kB / 389.7 MB, free: 7.438 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005477/0.2793, allocations: 371.6 kB / 390.1 MB, free: 7.234 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.2797, allocations: 44.06 kB / 390.1 MB, free: 7.215 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.2811, allocations: 1.11 MB / 391.2 MB, free: 6.484 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.2814, allocations: 0.8265 MB / 392 MB, free: 5.773 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.001415/0.2828, allocations: 1.077 MB / 393.1 MB, free: 5.738 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.2829, allocations: 42.66 kB / 393.1 MB, free: 5.73 MB / 302.1 MB Notification: Performance of SimCode: time 1.242e-06/0.2829, allocations: 0 / 393.1 MB, free: 5.73 MB / 302.1 MB Notification: Performance of Templates: time 0.008945/0.2919, allocations: 5.108 MB / 398.3 MB, free: 3.785 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches