Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.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.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_cpp_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_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001116/0.001116, allocations: 196.7 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 226.5 MB / 244.7 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007703/0.0007703, allocations: 99.08 kB / 296.8 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002054/0.0002054, allocations: 4 kB / 356.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2041, allocations: 51.3 MB / 408.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003814/0.208, allocations: 3.154 MB / 411.2 MB, free: 24.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.2102, allocations: 1.352 MB / 412.6 MB, free: 23.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.2104, allocations: 8.781 kB / 412.6 MB, free: 23.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003614/0.2108, allocations: 127.3 kB / 412.7 MB, free: 23.03 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000826/0.2117, allocations: 314.5 kB / 413 MB, free: 22.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.2127, allocations: 460.5 kB / 413.4 MB, free: 22.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000439/0.2132, allocations: 418.1 kB / 413.9 MB, free: 21.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/0.2145, allocations: 0.6903 MB / 414.5 MB, free: 21.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003024/0.2149, allocations: 175.3 kB / 414.7 MB, free: 20.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.2152, allocations: 219.1 kB / 414.9 MB, free: 20.78 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.431e-05/0.2152, allocations: 27.94 kB / 415 MB, free: 20.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004584/0.2157, allocations: 179.8 kB / 415.1 MB, free: 20.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.823e-05/0.2158, allocations: 79.67 kB / 415.2 MB, free: 20.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002146/0.216, allocations: 220.7 kB / 415.4 MB, free: 20.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005746/0.2166, allocations: 0.5112 MB / 415.9 MB, free: 19.76 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2166, allocations: 0 / 415.9 MB, free: 19.76 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.2166, allocations: 0 / 415.9 MB, free: 19.76 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.2166, allocations: 0 / 415.9 MB, free: 19.76 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002393/0.219, allocations: 0.8196 MB / 416.8 MB, free: 18.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.2191, allocations: 8.031 kB / 416.8 MB, free: 18.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005515/0.2246, allocations: 0.492 MB / 417.3 MB, free: 18.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.2251, allocations: 315.5 kB / 417.6 MB, free: 18.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.916e-05/0.2251, allocations: 45.69 kB / 417.6 MB, free: 18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.2252, allocations: 48.38 kB / 417.7 MB, free: 17.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.2264, allocations: 0.5181 MB / 418.2 MB, free: 17.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.2264, allocations: 3.906 kB / 418.2 MB, free: 17.42 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.082e-05/0.2265, allocations: 24 kB / 418.2 MB, free: 17.4 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.2265, allocations: 12 kB / 418.2 MB, free: 17.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.2278, allocations: 0.5673 MB / 418.8 MB, free: 16.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003261/0.2311, allocations: 1.96 MB / 420.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/0.2333, allocations: 2.191 MB / 422.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004194/0.2337, allocations: 210.1 kB / 423.1 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.2339, allocations: 174.6 kB / 423.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.2339, allocations: 43 kB / 423.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 2.594e-06/0.2339, allocations: 3.938 kB / 423.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.002515/0.2365, allocations: 0.8051 MB / 424.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.2365, allocations: 55.84 kB / 424.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.2367, allocations: 191.2 kB / 424.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.2368, allocations: 33.7 kB / 424.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.684e-05/0.2369, allocations: 212.5 kB / 424.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.237, allocations: 161.6 kB / 424.8 MB, free: 10.17 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.237, allocations: 12 kB / 424.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.289e-05/0.2371, allocations: 334.8 kB / 425.1 MB, free: 9.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/0.2375, allocations: 153.1 kB / 425.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004102/0.2379, allocations: 236.8 kB / 425.5 MB, free: 9.418 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007356/0.2387, allocations: 407.5 kB / 425.9 MB, free: 8.996 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.2387, allocations: 0 / 425.9 MB, free: 8.996 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001306/0.24, allocations: 0.5396 MB / 426.5 MB, free: 8.445 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.24, allocations: 4 kB / 426.5 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.24, allocations: 0 / 426.5 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004388/0.2405, allocations: 96.73 kB / 426.6 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005311/0.241, allocations: 91.89 kB / 426.6 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.2432, allocations: 1.85 MB / 428.5 MB, free: 6.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003721/0.2436, allocations: 47.58 kB / 428.5 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/0.2436, allocations: 16.06 kB / 428.6 MB, free: 6.203 MB / 298.7 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 (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.0002437/0.2439, allocations: 169.7 kB / 428.7 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.672e-05/0.244, allocations: 31.66 kB / 428.8 MB, free: 5.996 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.2451, allocations: 0.5551 MB / 429.3 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.2451, allocations: 4.188 kB / 429.3 MB, free: 5.434 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.2451, allocations: 0 / 429.3 MB, free: 5.434 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2451, allocations: 3.938 kB / 429.3 MB, free: 5.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.2467, allocations: 1.133 MB / 430.4 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2467, allocations: 7.938 kB / 430.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002982/0.247, allocations: 83.89 kB / 430.5 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002407/0.2472, allocations: 80.81 kB / 430.6 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.2473, allocations: 19.92 kB / 430.6 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/0.2486, allocations: 1.831 MB / 432.5 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2486, allocations: 0 / 432.5 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.2497, allocations: 0.8077 MB / 433.3 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.2497, allocations: 108.6 kB / 433.4 MB, free: 1.129 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/0.2498, allocations: 12 kB / 433.4 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.25, allocations: 24.05 kB / 433.4 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/0.2501, allocations: 36.39 kB / 433.5 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.2501, allocations: 8 kB / 433.5 MB, free: 1.047 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.841e-05/0.2502, allocations: 144.2 kB / 433.6 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.2502, allocations: 0 / 433.6 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004974/0.2507, allocations: 151.5 kB / 433.7 MB, free: 0.7578 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 (42): * Single equations (assignments): 41 * 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.0001853/0.2509, allocations: 139.2 kB / 433.9 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008526/0.2517, allocations: 0.5776 MB / 434.5 MB, free: 24 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2517, allocations: 0 / 434.5 MB, free: 24 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005765/0.2523, allocations: 389.4 kB / 434.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.2527, allocations: 32.11 kB / 434.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.254, allocations: 1.039 MB / 435.9 MB, free: 14.53 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.2545, allocations: 0.8087 MB / 436.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.2546, allocations: 27.44 kB / 436.7 MB, free: 13.66 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2547, allocations: 0 / 436.7 MB, free: 13.66 MB / 314.7 MB Notification: Performance of Templates: time 0.008222/0.2629, allocations: 6.254 MB / 443 MB, free: 7.41 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches