Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.00149/0.00149, allocations: 179.5 kB / 16.41 MB, free: 5.707 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.452/1.452, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0007139/0.0007139, allocations: 92.92 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002707/0.0002708, allocations: 12 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1982, allocations: 47.57 MB / 374.6 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.002884/0.2012, allocations: 3.175 MB / 377.7 MB, free: 42.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.2029, allocations: 1.332 MB / 379.1 MB, free: 41.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.2032, allocations: 13.25 kB / 379.1 MB, free: 41.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003653/0.2035, allocations: 130.8 kB / 379.2 MB, free: 41.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000954/0.2045, allocations: 474.8 kB / 379.7 MB, free: 41.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007071/0.2052, allocations: 347.4 kB / 380 MB, free: 41.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004871/0.2057, allocations: 449.4 kB / 380.4 MB, free: 40.92 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.2067, allocations: 0.6446 MB / 381.1 MB, free: 40.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003034/0.207, allocations: 179.2 kB / 381.3 MB, free: 40.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/0.2073, allocations: 236.5 kB / 381.5 MB, free: 40.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.443e-05/0.2074, allocations: 20.34 kB / 381.5 MB, free: 40.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004023/0.2078, allocations: 179.5 kB / 381.7 MB, free: 40.13 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.643e-05/0.2079, allocations: 91.77 kB / 381.8 MB, free: 40.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.969e-05/0.208, allocations: 101.1 kB / 381.9 MB, free: 39.99 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004618/0.2085, allocations: 0.5275 MB / 382.4 MB, free: 39.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2085, allocations: 0 / 382.4 MB, free: 39.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2085, allocations: 0 / 382.4 MB, free: 39.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.2085, allocations: 1.5 kB / 382.4 MB, free: 39.59 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.00188/0.2104, allocations: 0.8309 MB / 383.2 MB, free: 38.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.2104, allocations: 9.719 kB / 383.2 MB, free: 38.94 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004107/0.2145, allocations: 0.5918 MB / 383.8 MB, free: 38.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.215, allocations: 327 kB / 384.2 MB, free: 38.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/0.215, allocations: 40.81 kB / 384.2 MB, free: 38.35 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.2151, allocations: 57.09 kB / 384.3 MB, free: 38.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.2162, allocations: 0.5506 MB / 384.8 MB, free: 38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.2162, allocations: 4.875 kB / 384.8 MB, free: 38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.423e-05/0.2163, allocations: 25.5 kB / 384.8 MB, free: 37.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.2163, allocations: 17.69 kB / 384.9 MB, free: 37.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.2174, allocations: 0.639 MB / 385.5 MB, free: 37.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002539/0.2199, allocations: 2.055 MB / 387.5 MB, free: 35.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.2217, allocations: 3.008 MB / 390.6 MB, free: 32.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003062/0.222, allocations: 229.2 kB / 390.8 MB, free: 31.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.394e-05/0.2221, allocations: 89.53 kB / 390.9 MB, free: 31.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.2221, allocations: 39 kB / 390.9 MB, free: 31.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 2.024e-06/0.2221, allocations: 0 / 390.9 MB, free: 31.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=49): time 0.001638/0.2238, allocations: 0.8129 MB / 391.7 MB, free: 30.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/0.2238, allocations: 55.84 kB / 391.8 MB, free: 30.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.2239, allocations: 208.3 kB / 392 MB, free: 30.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.224, allocations: 33.64 kB / 392 MB, free: 30.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.699e-05/0.2241, allocations: 244.1 kB / 392.2 MB, free: 30.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.96e-05/0.2241, allocations: 161.6 kB / 392.4 MB, free: 30.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/0.2242, allocations: 12 kB / 392.4 MB, free: 30.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.972e-05/0.2242, allocations: 334.8 kB / 392.7 MB, free: 29.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.2245, allocations: 165 kB / 392.9 MB, free: 29.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/0.2248, allocations: 274 kB / 393.2 MB, free: 29.26 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.2252, allocations: 204.7 kB / 393.4 MB, free: 29.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.2252, allocations: 4 kB / 393.4 MB, free: 29.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008745/0.2261, allocations: 0.5864 MB / 394 MB, free: 28.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.2261, allocations: 8 kB / 394 MB, free: 28.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2261, allocations: 4 kB / 394 MB, free: 28.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002991/0.2264, allocations: 88.8 kB / 394.1 MB, free: 28.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/0.2268, allocations: 107.8 kB / 394.2 MB, free: 28.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.2282, allocations: 1.866 MB / 396 MB, free: 26.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.2285, allocations: 63.42 kB / 396.1 MB, free: 26.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.2285, allocations: 20 kB / 396.1 MB, free: 26.17 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001613/0.2287, allocations: 173.7 kB / 396.3 MB, free: 25.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/0.2288, allocations: 27.72 kB / 396.3 MB, free: 25.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009619/0.2297, allocations: 0.5512 MB / 396.9 MB, free: 25.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2298, allocations: 11.94 kB / 396.9 MB, free: 25.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2298, allocations: 4 kB / 396.9 MB, free: 25.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.2298, allocations: 3.984 kB / 396.9 MB, free: 25.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.2311, allocations: 1.157 MB / 398 MB, free: 24.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.2311, allocations: 0 / 398 MB, free: 24.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/0.2314, allocations: 83.89 kB / 398.1 MB, free: 24.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002373/0.2317, allocations: 88.75 kB / 398.2 MB, free: 23.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.2317, allocations: 19.92 kB / 398.2 MB, free: 23.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.233, allocations: 1.839 MB / 400.1 MB, free: 22 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.233, allocations: 3.953 kB / 400.1 MB, free: 21.99 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.2341, allocations: 0.8116 MB / 400.9 MB, free: 21.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.882e-05/0.2342, allocations: 116.6 kB / 401 MB, free: 21.03 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.2342, allocations: 8 kB / 401 MB, free: 21.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.2345, allocations: 23.98 kB / 401 MB, free: 21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/0.2345, allocations: 32.39 kB / 401.1 MB, free: 20.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.2346, allocations: 19.95 kB / 401.1 MB, free: 20.95 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.708e-05/0.2347, allocations: 152.2 kB / 401.2 MB, free: 20.8 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2347, allocations: 0 / 401.2 MB, free: 20.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005236/0.2352, allocations: 147.6 kB / 401.4 MB, free: 20.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001834/0.2354, allocations: 139.2 kB / 401.5 MB, free: 20.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008678/0.2363, allocations: 0.5933 MB / 402.1 MB, free: 19.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2363, allocations: 0 / 402.1 MB, free: 19.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004533/0.2367, allocations: 397.8 kB / 402.5 MB, free: 19.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.2371, allocations: 24.19 kB / 402.5 MB, free: 19.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.2383, allocations: 1.106 MB / 403.6 MB, free: 18.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.2385, allocations: 0.8097 MB / 404.4 MB, free: 17.51 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.2386, allocations: 43.42 kB / 404.5 MB, free: 17.46 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2386, allocations: 0 / 404.5 MB, free: 17.46 MB / 298.7 MB Notification: Performance of Templates: time 0.006715/0.2453, allocations: 6.551 MB / 411 MB, free: 10.91 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches