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.001081/0.001081, allocations: 196.6 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 226.6 MB / 244.3 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007845/0.0007846, allocations: 104.1 kB / 296.4 MB, free: 7.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002138/0.0002138, allocations: 8 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2172, allocations: 51.29 MB / 407.5 MB, free: 27.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.002825/0.2201, allocations: 3.139 MB / 410.6 MB, free: 24.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.2218, allocations: 1.354 MB / 412 MB, free: 23.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.2219, allocations: 8 kB / 412 MB, free: 23.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.2223, allocations: 127.3 kB / 412.1 MB, free: 23.22 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006441/0.2229, allocations: 310.5 kB / 412.4 MB, free: 22.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006946/0.2236, allocations: 466.1 kB / 412.9 MB, free: 22.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.2239, allocations: 414.1 kB / 413.3 MB, free: 22.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.225, allocations: 0.6406 MB / 413.9 MB, free: 21.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.2252, allocations: 179.3 kB / 414.1 MB, free: 21.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.2255, allocations: 227.1 kB / 414.3 MB, free: 21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.032e-05/0.2255, allocations: 20 kB / 414.3 MB, free: 20.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003041/0.2258, allocations: 183.8 kB / 414.5 MB, free: 20.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.2259, allocations: 75.67 kB / 414.6 MB, free: 20.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.048e-05/0.2259, allocations: 105.5 kB / 414.7 MB, free: 20.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004275/0.2264, allocations: 0.5151 MB / 415.2 MB, free: 20.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2264, allocations: 0 / 415.2 MB, free: 20.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2264, allocations: 0 / 415.2 MB, free: 20.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.2264, allocations: 0 / 415.2 MB, free: 20.11 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.001659/0.2281, allocations: 0.8194 MB / 416 MB, free: 19.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.2281, allocations: 8.031 kB / 416 MB, free: 19.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00313/0.2313, allocations: 0.4989 MB / 416.5 MB, free: 18.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.2315, allocations: 298.3 kB / 416.8 MB, free: 18.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.2316, allocations: 53.27 kB / 416.9 MB, free: 18.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.725e-05/0.2317, allocations: 48 kB / 416.9 MB, free: 18.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007711/0.2324, allocations: 0.5141 MB / 417.4 MB, free: 17.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.2325, allocations: 0 / 417.4 MB, free: 17.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.591e-05/0.2325, allocations: 24 kB / 417.5 MB, free: 17.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.2325, allocations: 12 kB / 417.5 MB, free: 17.74 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008111/0.2333, allocations: 0.579 MB / 418.1 MB, free: 17.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.2356, allocations: 1.948 MB / 420 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.2371, allocations: 2.192 MB / 422.2 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.2374, allocations: 218 kB / 422.4 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.636e-05/0.2375, allocations: 178.6 kB / 422.6 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.2375, allocations: 42.94 kB / 422.6 MB, free: 12.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 1.683e-06/0.2375, allocations: 0 / 422.6 MB, free: 12.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001636/0.2392, allocations: 0.7972 MB / 423.4 MB, free: 11.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.2392, allocations: 59.83 kB / 423.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.2393, allocations: 179.4 kB / 423.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.2394, allocations: 37.7 kB / 423.7 MB, free: 10.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.419e-05/0.2394, allocations: 216.5 kB / 423.9 MB, free: 10.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.31e-05/0.2395, allocations: 157.7 kB / 424.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.896e-05/0.2396, allocations: 8 kB / 424.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.95e-05/0.2396, allocations: 338.8 kB / 424.4 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.2399, allocations: 153 kB / 424.6 MB, free: 10.03 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.2401, allocations: 224.8 kB / 424.8 MB, free: 9.789 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.2404, allocations: 188.7 kB / 425 MB, free: 9.605 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2404, allocations: 0 / 425 MB, free: 9.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008143/0.2413, allocations: 0.5355 MB / 425.5 MB, free: 9.062 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.2413, allocations: 11.95 kB / 425.5 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2413, allocations: 3.938 kB / 425.5 MB, free: 9.047 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003134/0.2416, allocations: 93.02 kB / 425.6 MB, free: 8.953 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.242, allocations: 91.89 kB / 425.7 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001431/0.2434, allocations: 1.85 MB / 427.5 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.2437, allocations: 47.58 kB / 427.6 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.2437, allocations: 16.19 kB / 427.6 MB, free: 6.812 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.0001594/0.2439, allocations: 169.7 kB / 427.8 MB, free: 6.637 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.2439, allocations: 31.64 kB / 427.8 MB, free: 6.605 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009303/0.2448, allocations: 0.559 MB / 428.4 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2449, allocations: 8 kB / 428.4 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2449, allocations: 0 / 428.4 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2449, allocations: 0 / 428.4 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.2462, allocations: 1.141 MB / 429.5 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.2462, allocations: 0 / 429.5 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/0.2465, allocations: 79.89 kB / 429.6 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002293/0.2467, allocations: 80.81 kB / 429.7 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.2468, allocations: 15.98 kB / 429.7 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/0.248, allocations: 1.839 MB / 431.5 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2481, allocations: 7.969 kB / 431.5 MB, free: 2.668 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.2491, allocations: 0.796 MB / 432.3 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.2492, allocations: 120.7 kB / 432.4 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.2492, allocations: 7.953 kB / 432.4 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.2494, allocations: 23.98 kB / 432.5 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/0.2495, allocations: 32.39 kB / 432.5 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.2495, allocations: 16 kB / 432.5 MB, free: 1.641 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.021e-05/0.2496, allocations: 136.2 kB / 432.6 MB, free: 1.508 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2496, allocations: 0 / 432.6 MB, free: 1.508 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004671/0.2501, allocations: 147.6 kB / 432.8 MB, free: 1.363 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.0002006/0.2503, allocations: 139.4 kB / 432.9 MB, free: 1.219 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008163/0.2511, allocations: 0.5777 MB / 433.5 MB, free: 0.625 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2512, allocations: 3.938 kB / 433.5 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004258/0.2516, allocations: 388.9 kB / 433.9 MB, free: 236 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.2519, allocations: 38.47 kB / 433.9 MB, free: 200 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.2532, allocations: 1.026 MB / 435 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.2536, allocations: 0.8087 MB / 435.8 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.2537, allocations: 35.44 kB / 435.8 MB, free: 14.27 MB / 314.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2537, allocations: 4 kB / 435.8 MB, free: 14.27 MB / 314.7 MB Notification: Performance of Templates: time 0.007714/0.2614, allocations: 6.268 MB / 442.1 MB, free: 7.992 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