Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001133/0.001133, allocations: 186.6 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009625/0.0009626, allocations: 43.94 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2144, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004552/0.219, allocations: 3.693 MB / 405.1 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.2211, allocations: 1.425 MB / 406.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001576/0.2213, allocations: 15.94 kB / 406.5 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.223, allocations: 0.7534 MB / 407.3 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.2241, allocations: 0.5403 MB / 407.8 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007846/0.2249, allocations: 423.1 kB / 408.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004403/0.2253, allocations: 470 kB / 408.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006889/0.226, allocations: 459.1 kB / 409.2 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002875/0.2263, allocations: 215.2 kB / 409.4 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/0.2267, allocations: 278.9 kB / 409.6 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.607e-05/0.2267, allocations: 44 kB / 409.7 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004036/0.2271, allocations: 215.8 kB / 409.9 MB, free: 352 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.585e-05/0.2273, allocations: 115.6 kB / 410 MB, free: 236 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.2275, allocations: 234.8 kB / 410.2 MB, free: 0 / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007888/0.2283, allocations: 0.6892 MB / 410.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2283, allocations: 0 / 410.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2283, allocations: 0 / 410.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.2283, allocations: 0 / 410.9 MB, free: 15.31 MB / 334.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.002185/0.2305, allocations: 0.9132 MB / 411.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.2305, allocations: 11.89 kB / 411.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003562/0.2341, allocations: 487.9 kB / 412.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/0.2345, allocations: 311.6 kB / 412.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.2346, allocations: 41.67 kB / 412.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.096e-05/0.2346, allocations: 60.28 kB / 412.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009165/0.2356, allocations: 0.5259 MB / 413.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.2356, allocations: 3.984 kB / 413.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.715e-05/0.2357, allocations: 24 kB / 413.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.2357, allocations: 16 kB / 413.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.2367, allocations: 0.5712 MB / 413.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002712/0.2394, allocations: 1.875 MB / 415.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/0.2414, allocations: 2.163 MB / 417.9 MB, free: 7.742 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004635/0.2418, allocations: 262.1 kB / 418.2 MB, free: 7.484 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.074e-05/0.2419, allocations: 97.52 kB / 418.3 MB, free: 7.371 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.242, allocations: 46.88 kB / 418.3 MB, free: 7.316 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 1.873e-06/0.242, allocations: 0 / 418.3 MB, free: 7.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.001734/0.2437, allocations: 0.7426 MB / 419 MB, free: 6.543 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.2438, allocations: 55.84 kB / 419.1 MB, free: 6.477 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.2439, allocations: 190.2 kB / 419.3 MB, free: 6.281 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.244, allocations: 37.7 kB / 419.3 MB, free: 6.238 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.2441, allocations: 212.5 kB / 419.5 MB, free: 6.023 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.2442, allocations: 157.6 kB / 419.7 MB, free: 5.867 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.2443, allocations: 86.25 kB / 419.8 MB, free: 5.777 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.2444, allocations: 334.8 kB / 420.1 MB, free: 5.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/0.2447, allocations: 149.1 kB / 420.2 MB, free: 5.297 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/0.2451, allocations: 242.5 kB / 420.5 MB, free: 5.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006549/0.2458, allocations: 420.9 kB / 420.9 MB, free: 4.586 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.2458, allocations: 3.938 kB / 420.9 MB, free: 4.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009974/0.2468, allocations: 0.5318 MB / 421.4 MB, free: 4.043 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2468, allocations: 4 kB / 421.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.2468, allocations: 7.984 kB / 421.4 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003227/0.2472, allocations: 72.81 kB / 421.5 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003875/0.2476, allocations: 103.8 kB / 421.6 MB, free: 3.855 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/0.2492, allocations: 1.77 MB / 423.4 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.2495, allocations: 55.45 kB / 423.4 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.2496, allocations: 19.98 kB / 423.5 MB, free: 1.875 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001729/0.2497, allocations: 173.7 kB / 423.6 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-05/0.2498, allocations: 23.72 kB / 423.6 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.2509, allocations: 0.5356 MB / 424.2 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.2509, allocations: 3.984 kB / 424.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2509, allocations: 0 / 424.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.315e-05/0.251, allocations: 104.7 kB / 424.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/0.251, allocations: 15.94 kB / 424.3 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.2513, allocations: 15.98 kB / 424.3 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/0.2514, allocations: 36.38 kB / 424.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001113/0.2525, allocations: 0.551 MB / 424.9 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00105/0.2535, allocations: 0.7248 MB / 425.6 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002849/0.2538, allocations: 167.3 kB / 425.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.254, allocations: 140.2 kB / 425.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of Backend: time 3.91e-07/0.254, allocations: 192 / 425.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.2552, allocations: 0.5816 MB / 426.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of SimCode: time 0.001193/0.2564, allocations: 1.186 MB / 427.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of Templates: time 0.01047/0.2669, allocations: 6.189 MB / 433.9 MB, free: 7.316 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches