Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001863/0.001864, allocations: 109.7 kB / 17.16 MB, free: 6.328 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.002501/0.002501, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.499/2.499, allocations: 222.9 MB / 241.8 MB, free: 15.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 47.27 kB / 300.6 MB, free: 6.355 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1749, allocations: 49.45 MB / 350.1 MB, free: 4.902 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.008865/0.1838, allocations: 3.712 MB / 353.8 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004407/0.1883, allocations: 1.418 MB / 355.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006683/0.189, allocations: 11.94 kB / 355.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002872/0.1921, allocations: 0.7076 MB / 355.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002384/0.1945, allocations: 0.494 MB / 356.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.1957, allocations: 409.8 kB / 356.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.1968, allocations: 442 kB / 357.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.1981, allocations: 356.9 kB / 357.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006142/0.1987, allocations: 191.3 kB / 357.8 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006199/0.1994, allocations: 262.9 kB / 358 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.1996, allocations: 32 kB / 358.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.2006, allocations: 195.8 kB / 358.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.2008, allocations: 95.66 kB / 358.3 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004645/0.2013, allocations: 218.9 kB / 358.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.2023, allocations: 0.5182 MB / 359.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.1e-05/0.2023, allocations: 4 kB / 359.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.2023, allocations: 0 / 359.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.544e-05/0.2024, allocations: 0 / 359.1 MB, free: 11.84 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.003414/0.2058, allocations: 0.9054 MB / 360 MB, free: 10.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.224e-05/0.2059, allocations: 8.031 kB / 360 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003795/0.2097, allocations: 491.9 kB / 360.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006235/0.2103, allocations: 307.6 kB / 360.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.737e-05/0.2104, allocations: 45.69 kB / 360.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.2105, allocations: 48.38 kB / 360.9 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.2118, allocations: 0.5181 MB / 361.4 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.2118, allocations: 4 kB / 361.4 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.87e-05/0.2119, allocations: 20 kB / 361.4 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.2119, allocations: 12 kB / 361.4 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.2131, allocations: 0.5673 MB / 362 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003283/0.2164, allocations: 1.877 MB / 363.9 MB, free: 6.844 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002351/0.2188, allocations: 2.18 MB / 366 MB, free: 4.273 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003997/0.2192, allocations: 210.1 kB / 366.2 MB, free: 4.066 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.2193, allocations: 89.53 kB / 366.3 MB, free: 3.961 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.2194, allocations: 46.94 kB / 366.4 MB, free: 3.902 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.174e-06/0.2194, allocations: 3.938 kB / 366.4 MB, free: 3.898 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.002131/0.2215, allocations: 0.7895 MB / 367.2 MB, free: 3.082 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.2216, allocations: 55.84 kB / 367.2 MB, free: 3.016 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.2219, allocations: 190.3 kB / 367.4 MB, free: 2.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.2219, allocations: 29.7 kB / 367.4 MB, free: 2.785 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.2221, allocations: 220.4 kB / 367.7 MB, free: 2.566 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.2223, allocations: 161.7 kB / 367.8 MB, free: 2.406 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.2225, allocations: 78.25 kB / 367.9 MB, free: 2.324 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.2227, allocations: 346.8 kB / 368.2 MB, free: 1.977 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003299/0.2231, allocations: 149 kB / 368.4 MB, free: 1.832 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.2235, allocations: 228.8 kB / 368.6 MB, free: 1.586 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007324/0.2242, allocations: 399.4 kB / 369 MB, free: 1.172 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.2242, allocations: 7.938 kB / 369 MB, free: 1.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001201/0.2254, allocations: 0.5238 MB / 369.5 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.2255, allocations: 12.22 kB / 369.5 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.2255, allocations: 0 / 369.5 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004773/0.226, allocations: 96.73 kB / 369.6 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.2264, allocations: 83.89 kB / 369.7 MB, free: 452 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3253/0.5517, allocations: 1.839 MB / 371.5 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004792/0.5522, allocations: 44.12 kB / 371.6 MB, free: 24.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/0.5523, allocations: 19.52 kB / 371.6 MB, free: 24.36 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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.0003007/0.5526, allocations: 173 kB / 371.8 MB, free: 24.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.5527, allocations: 23.78 kB / 371.8 MB, free: 24.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/0.5545, allocations: 0.5421 MB / 372.3 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.5545, allocations: 7.438 kB / 372.4 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.5545, allocations: 2.594 kB / 372.4 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.5546, allocations: 6.969 kB / 372.4 MB, free: 24.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/0.5573, allocations: 1.146 MB / 373.5 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.5573, allocations: 0 / 373.5 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005555/0.5579, allocations: 71.11 kB / 373.6 MB, free: 23.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004507/0.5584, allocations: 89.36 kB / 373.7 MB, free: 23.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.655e-05/0.5584, allocations: 12.69 kB / 373.7 MB, free: 23.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002638/0.5611, allocations: 1.851 MB / 375.5 MB, free: 22.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5611, allocations: 0 / 375.5 MB, free: 22.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.5634, allocations: 0.7847 MB / 376.3 MB, free: 21.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.5636, allocations: 107.4 kB / 376.4 MB, free: 21.53 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.442e-05/0.5637, allocations: 10.94 kB / 376.4 MB, free: 21.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003537/0.5641, allocations: 20.06 kB / 376.4 MB, free: 21.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.5642, allocations: 40.16 kB / 376.5 MB, free: 21.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.171e-05/0.5643, allocations: 14.38 kB / 376.5 MB, free: 21.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002033/0.5645, allocations: 133.6 kB / 376.6 MB, free: 21.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5645, allocations: 0 / 376.6 MB, free: 21.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001246/0.5658, allocations: 151.8 kB / 376.8 MB, free: 21.37 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 {(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.0004592/0.5662, allocations: 139.2 kB / 376.9 MB, free: 21.26 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001933/0.5682, allocations: 0.5607 MB / 377.5 MB, free: 21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.5682, allocations: 0 / 377.5 MB, free: 21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009769/0.5692, allocations: 386.8 kB / 377.9 MB, free: 20.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006505/0.5699, allocations: 27.78 kB / 377.9 MB, free: 20.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.5723, allocations: 1.035 MB / 378.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/0.5728, allocations: 0.8049 MB / 379.7 MB, free: 19.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.573, allocations: 38.19 kB / 379.8 MB, free: 19.38 MB / 302.1 MB Notification: Performance of SimCode: time 9.92e-07/0.573, allocations: 0 / 379.8 MB, free: 19.38 MB / 302.1 MB Notification: Performance of Templates: time 0.01905/0.5921, allocations: 6.258 MB / 386 MB, free: 17.98 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches