Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.23/1.23, allocations: 205.1 MB / 223.7 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008796/0.0008796, allocations: 101.1 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007445/0.0007446, allocations: 43.94 kB / 327.2 MB, free: 320 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1815, allocations: 46.61 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.003684/0.1853, allocations: 3.762 MB / 377.6 MB, free: 42.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.1871, allocations: 1.465 MB / 379 MB, free: 41.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.1872, allocations: 9.062 kB / 379.1 MB, free: 41.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.1886, allocations: 0.7096 MB / 379.8 MB, free: 41.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009158/0.1895, allocations: 0.5241 MB / 380.3 MB, free: 40.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006375/0.1902, allocations: 402.6 kB / 380.7 MB, free: 40.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003746/0.1905, allocations: 470.5 kB / 381.1 MB, free: 40.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004929/0.191, allocations: 356.2 kB / 381.5 MB, free: 40.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.1913, allocations: 200.4 kB / 381.7 MB, free: 39.9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.1915, allocations: 281.7 kB / 382 MB, free: 39.72 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.407e-05/0.1916, allocations: 32.28 kB / 382 MB, free: 39.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003526/0.192, allocations: 195.3 kB / 382.2 MB, free: 39.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.101e-05/0.192, allocations: 103.2 kB / 382.3 MB, free: 39.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.1922, allocations: 236.9 kB / 382.5 MB, free: 39.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005894/0.1928, allocations: 0.6835 MB / 383.2 MB, free: 38.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1928, allocations: 0 / 383.2 MB, free: 38.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1928, allocations: 1.5 kB / 383.2 MB, free: 38.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1928, allocations: 0 / 383.2 MB, free: 38.89 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001827/0.1947, allocations: 0.9257 MB / 384.1 MB, free: 38.17 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1947, allocations: 9.438 kB / 384.1 MB, free: 38.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003867/0.1986, allocations: 0.5866 MB / 384.7 MB, free: 37.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.199, allocations: 316.9 kB / 385 MB, free: 37.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.385e-05/0.199, allocations: 43.88 kB / 385.1 MB, free: 37.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.393e-05/0.1991, allocations: 62.09 kB / 385.1 MB, free: 37.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.2002, allocations: 0.5504 MB / 385.7 MB, free: 37.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.2002, allocations: 5.688 kB / 385.7 MB, free: 37.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.379e-05/0.2003, allocations: 25.22 kB / 385.7 MB, free: 37.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.2003, allocations: 12.75 kB / 385.7 MB, free: 37.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009984/0.2013, allocations: 0.6383 MB / 386.4 MB, free: 36.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002359/0.2037, allocations: 2.05 MB / 388.4 MB, free: 34.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/0.2056, allocations: 3.012 MB / 391.4 MB, free: 31.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.2059, allocations: 220.7 kB / 391.6 MB, free: 30.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.895e-05/0.206, allocations: 97.52 kB / 391.7 MB, free: 30.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.206, allocations: 39 kB / 391.8 MB, free: 30.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 2.584e-06/0.206, allocations: 0 / 391.8 MB, free: 30.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=49): time 0.001626/0.2077, allocations: 0.7932 MB / 392.6 MB, free: 29.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.2077, allocations: 63.78 kB / 392.6 MB, free: 29.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.2079, allocations: 200.5 kB / 392.8 MB, free: 29.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.2079, allocations: 37.7 kB / 392.9 MB, free: 29.56 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.208, allocations: 240 kB / 393.1 MB, free: 29.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.2082, allocations: 161.6 kB / 393.3 MB, free: 29.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.2083, allocations: 98.16 kB / 393.4 MB, free: 29.06 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.07e-05/0.2084, allocations: 334.8 kB / 393.7 MB, free: 28.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.2087, allocations: 161 kB / 393.8 MB, free: 28.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.209, allocations: 274 kB / 394.1 MB, free: 28.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005441/0.2095, allocations: 460.5 kB / 394.6 MB, free: 27.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2095, allocations: 4 kB / 394.6 MB, free: 27.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008499/0.2104, allocations: 0.5861 MB / 395.1 MB, free: 27.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.2104, allocations: 7.938 kB / 395.2 MB, free: 27.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.2104, allocations: 4.406 kB / 395.2 MB, free: 27.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003329/0.2108, allocations: 92.75 kB / 395.2 MB, free: 27.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.2111, allocations: 107.9 kB / 395.4 MB, free: 26.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.2126, allocations: 1.846 MB / 397.2 MB, free: 24.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002554/0.2128, allocations: 63.42 kB / 397.3 MB, free: 24.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.2129, allocations: 20 kB / 397.3 MB, free: 24.89 MB / 298.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 (58): * Single equations (assignments): 57 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.213, allocations: 177.7 kB / 397.5 MB, free: 24.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.2131, allocations: 23.72 kB / 397.5 MB, free: 24.69 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008372/0.2139, allocations: 0.555 MB / 398 MB, free: 24.13 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.2139, allocations: 8 kB / 398 MB, free: 24.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2139, allocations: 4 kB / 398 MB, free: 24.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.2139, allocations: 7.922 kB / 398.1 MB, free: 24.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.2151, allocations: 1.134 MB / 399.2 MB, free: 22.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2151, allocations: 0 / 399.2 MB, free: 22.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.2154, allocations: 87.89 kB / 399.3 MB, free: 22.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002111/0.2156, allocations: 84.75 kB / 399.4 MB, free: 22.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.2157, allocations: 15.98 kB / 399.4 MB, free: 22.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.2169, allocations: 1.843 MB / 401.2 MB, free: 20.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2169, allocations: 3.984 kB / 401.2 MB, free: 20.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.2187, allocations: 1.978 MB / 403.2 MB, free: 18.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.794e-05/0.2188, allocations: 108.6 kB / 403.3 MB, free: 18.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.2188, allocations: 15.98 kB / 403.3 MB, free: 18.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.219, allocations: 16 kB / 403.3 MB, free: 18.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/0.2191, allocations: 40.31 kB / 403.4 MB, free: 18.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.2191, allocations: 12 kB / 403.4 MB, free: 18.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.94e-05/0.2192, allocations: 152.1 kB / 403.5 MB, free: 18.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2192, allocations: 4.094 kB / 403.5 MB, free: 18.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000565/0.2198, allocations: 163.5 kB / 403.7 MB, free: 18.1 MB / 298.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 (44): * Single equations (assignments): 43 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001773/0.22, allocations: 143.2 kB / 403.8 MB, free: 17.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007928/0.2208, allocations: 0.5861 MB / 404.4 MB, free: 17.35 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2208, allocations: 4.062 kB / 404.4 MB, free: 17.35 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004224/0.2212, allocations: 389 kB / 404.8 MB, free: 16.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.2216, allocations: 28 kB / 404.8 MB, free: 16.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.2228, allocations: 1.341 MB / 406.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.223, allocations: 0.8292 MB / 407 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001973/0.2232, allocations: 47.27 kB / 407 MB, free: 14.65 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.94e-05/0.2233, allocations: 43.42 kB / 407.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2233, allocations: 0 / 407.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of Templates: time 0.006471/0.2298, allocations: 4.365 MB / 411.5 MB, free: 10.26 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches