Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002037/0.002037, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001002/0.001002, allocations: 101.6 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008931/0.0008931, allocations: 51.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2739, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.00321/0.2771, allocations: 2.958 MB / 410 MB, free: 24.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009013/0.2781, allocations: 0.7027 MB / 410.7 MB, free: 24.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.2782, allocations: 4 kB / 410.7 MB, free: 24.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.2784, allocations: 47.62 kB / 410.8 MB, free: 24.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.2785, allocations: 70.33 kB / 410.8 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.2787, allocations: 79.92 kB / 410.9 MB, free: 23.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.279, allocations: 358.5 kB / 411.3 MB, free: 23.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.2792, allocations: 132.8 kB / 411.4 MB, free: 23.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.2794, allocations: 135.5 kB / 411.5 MB, free: 23.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.2796, allocations: 151.3 kB / 411.7 MB, free: 23.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.2796, allocations: 24 kB / 411.7 MB, free: 23.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.227e-05/0.2797, allocations: 20 kB / 411.7 MB, free: 23.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.234e-05/0.2797, allocations: 71.73 kB / 411.8 MB, free: 23.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.2798, allocations: 159.1 kB / 411.9 MB, free: 22.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.2801, allocations: 364.2 kB / 412.3 MB, free: 22.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2801, allocations: 0 / 412.3 MB, free: 22.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.2801, allocations: 0 / 412.3 MB, free: 22.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.2801, allocations: 0 / 412.3 MB, free: 22.55 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0007391/0.2808, allocations: 0.6083 MB / 412.9 MB, free: 21.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.2809, allocations: 8.031 kB / 412.9 MB, free: 21.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.789e-05/0.2809, allocations: 36.56 kB / 412.9 MB, free: 21.85 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.2811, allocations: 263.7 kB / 413.2 MB, free: 21.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.2812, allocations: 25.03 kB / 413.2 MB, free: 21.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/0.2812, allocations: 32.38 kB / 413.3 MB, free: 21.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.2816, allocations: 274.4 kB / 413.5 MB, free: 21.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2817, allocations: 0 / 413.5 MB, free: 21.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.2817, allocations: 12 kB / 413.5 MB, free: 21.22 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.2817, allocations: 15.94 kB / 413.6 MB, free: 21.2 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003642/0.2821, allocations: 206.4 kB / 413.8 MB, free: 21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.2832, allocations: 0.9869 MB / 414.7 MB, free: 19.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.2835, allocations: 166.5 kB / 414.9 MB, free: 19.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.2836, allocations: 84.84 kB / 415 MB, free: 19.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.2836, allocations: 0 / 415 MB, free: 19.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.2836, allocations: 34.56 kB / 415 MB, free: 19.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.102e-06/0.2837, allocations: 0 / 415 MB, free: 19.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004702/0.2841, allocations: 212.4 kB / 415.2 MB, free: 19.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.2842, allocations: 55.41 kB / 415.3 MB, free: 19.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.2843, allocations: 214.9 kB / 415.5 MB, free: 19.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.2843, allocations: 25.7 kB / 415.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/0.2844, allocations: 188 kB / 415.7 MB, free: 18.92 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.2845, allocations: 63.09 kB / 415.8 MB, free: 18.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.2845, allocations: 49.61 kB / 415.8 MB, free: 18.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.794e-05/0.2846, allocations: 338.8 kB / 416.1 MB, free: 18.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.2847, allocations: 63.97 kB / 416.2 MB, free: 18.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.2849, allocations: 117.9 kB / 416.3 MB, free: 18.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.2852, allocations: 183.5 kB / 416.5 MB, free: 18.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2852, allocations: 0 / 416.5 MB, free: 18.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003704/0.2856, allocations: 248.4 kB / 416.7 MB, free: 17.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2856, allocations: 4 kB / 416.7 MB, free: 17.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2856, allocations: 4 kB / 416.7 MB, free: 17.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.2856, allocations: 3.984 kB / 416.8 MB, free: 17.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.2859, allocations: 63.91 kB / 416.8 MB, free: 17.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.2859, allocations: 4 kB / 416.8 MB, free: 17.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.286, allocations: 27.73 kB / 416.8 MB, free: 17.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.286, allocations: 12.12 kB / 416.9 MB, free: 17.7 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.571e-05/0.2861, allocations: 151.2 kB / 417 MB, free: 17.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.2862, allocations: 15.81 kB / 417 MB, free: 17.53 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003482/0.2865, allocations: 189.8 kB / 417.2 MB, free: 17.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2866, allocations: 48 / 417.2 MB, free: 17.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2866, allocations: 3.984 kB / 417.2 MB, free: 17.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2866, allocations: 0 / 417.2 MB, free: 17.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.2868, allocations: 329.3 kB / 417.5 MB, free: 16.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2868, allocations: 3.938 kB / 417.5 MB, free: 16.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.2871, allocations: 51.91 kB / 417.6 MB, free: 16.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2871, allocations: 0 / 417.6 MB, free: 16.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.2871, allocations: 8 kB / 417.6 MB, free: 16.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2871, allocations: 0 / 417.6 MB, free: 16.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2871, allocations: 0 / 417.6 MB, free: 16.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002283/0.2894, allocations: 2.082 MB / 419.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.2895, allocations: 104.9 kB / 419.8 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.2895, allocations: 0 / 419.8 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.2897, allocations: 19.98 kB / 419.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/0.2897, allocations: 11.98 kB / 419.8 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.2897, allocations: 8 kB / 419.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.085e-05/0.2898, allocations: 148.4 kB / 420 MB, free: 14.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2898, allocations: 0 / 420 MB, free: 14.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003762/0.2902, allocations: 99.69 kB / 420.1 MB, free: 14.28 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.phi,inductor2.i,capacitor2.v) * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001165/0.2903, allocations: 111.2 kB / 420.2 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000317/0.2907, allocations: 159.8 kB / 420.3 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2907, allocations: 0 / 420.3 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.2908, allocations: 74.48 kB / 420.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.2912, allocations: 23.98 kB / 420.4 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.2925, allocations: 1.14 MB / 421.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.2927, allocations: 0.768 MB / 422.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.273e-05/0.2928, allocations: 25.94 kB / 422.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.234e-05/0.2928, allocations: 27.42 kB / 422.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2928, allocations: 0 / 422.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of Templates: time 0.004461/0.2973, allocations: 2.305 MB / 424.7 MB, free: 9.598 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches