Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001072/0.001072, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 62.94 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1041, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005145/0.1093, allocations: 3.696 MB / 362.6 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.1118, allocations: 1.487 MB / 364.1 MB, free: 8.133 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.112, allocations: 12 kB / 364.1 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.1137, allocations: 0.7656 MB / 364.9 MB, free: 7.355 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000815/0.1145, allocations: 374 kB / 365.2 MB, free: 6.988 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.1156, allocations: 0.5549 MB / 365.8 MB, free: 6.438 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004305/0.1161, allocations: 470 kB / 366.2 MB, free: 5.977 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006622/0.1167, allocations: 461.8 kB / 366.7 MB, free: 5.523 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002951/0.117, allocations: 215.2 kB / 366.9 MB, free: 5.312 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003159/0.1174, allocations: 274.9 kB / 367.2 MB, free: 5.043 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.758e-05/0.1174, allocations: 44 kB / 367.2 MB, free: 5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004181/0.1179, allocations: 223.8 kB / 367.4 MB, free: 4.781 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.381e-05/0.118, allocations: 111.6 kB / 367.5 MB, free: 4.672 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.1182, allocations: 234.8 kB / 367.8 MB, free: 4.441 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007275/0.1189, allocations: 0.6931 MB / 368.5 MB, free: 3.746 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1189, allocations: 0 / 368.5 MB, free: 3.746 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1189, allocations: 7.938 kB / 368.5 MB, free: 3.738 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.1189, allocations: 0 / 368.5 MB, free: 3.738 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.001947/0.1209, allocations: 0.9131 MB / 369.4 MB, free: 2.777 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1209, allocations: 12.03 kB / 369.4 MB, free: 2.766 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003521/0.1245, allocations: 499.9 kB / 369.9 MB, free: 2.277 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005016/0.125, allocations: 307.6 kB / 370.2 MB, free: 1.938 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/0.125, allocations: 37.69 kB / 370.2 MB, free: 1.898 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.931e-05/0.1251, allocations: 56.38 kB / 370.3 MB, free: 1.844 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009004/0.126, allocations: 0.522 MB / 370.8 MB, free: 1.316 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.1261, allocations: 8 kB / 370.8 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.066e-05/0.1261, allocations: 27.98 kB / 370.8 MB, free: 1.281 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.1261, allocations: 15.94 kB / 370.8 MB, free: 1.266 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009597/0.1271, allocations: 0.5712 MB / 371.4 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1492/0.2763, allocations: 1.94 MB / 373.4 MB, free: 19.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.278, allocations: 2.175 MB / 375.5 MB, free: 17.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004623/0.2785, allocations: 267.3 kB / 375.8 MB, free: 17.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.2786, allocations: 173.4 kB / 376 MB, free: 17.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.2787, allocations: 41.12 kB / 376 MB, free: 16.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 1.994e-06/0.2787, allocations: 1.5 kB / 376 MB, free: 16.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001766/0.2805, allocations: 0.7441 MB / 376.7 MB, free: 16.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.2805, allocations: 59.44 kB / 376.8 MB, free: 16.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.2807, allocations: 182.8 kB / 377 MB, free: 16.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.2807, allocations: 36.17 kB / 377 MB, free: 16.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.2808, allocations: 219.4 kB / 377.2 MB, free: 16.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.2809, allocations: 156.8 kB / 377.4 MB, free: 16.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.2811, allocations: 88.73 kB / 377.5 MB, free: 16.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.329e-05/0.2812, allocations: 339.5 kB / 377.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.2815, allocations: 147.1 kB / 378 MB, free: 15.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/0.2818, allocations: 237.9 kB / 378.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005744/0.2824, allocations: 420.8 kB / 378.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2824, allocations: 0 / 378.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009209/0.2833, allocations: 0.5339 MB / 379.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.2834, allocations: 10.38 kB / 379.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2834, allocations: 2.594 kB / 379.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003213/0.2837, allocations: 76.67 kB / 379.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/0.2841, allocations: 95.08 kB / 379.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.2855, allocations: 1.778 MB / 381.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.2858, allocations: 48.91 kB / 381.1 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.2858, allocations: 19.19 kB / 381.2 MB, free: 13.42 MB / 302.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.0001601/0.286, allocations: 170 kB / 381.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.856e-05/0.286, allocations: 25.55 kB / 381.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009964/0.2871, allocations: 0.5445 MB / 381.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.2871, allocations: 5.156 kB / 381.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2871, allocations: 1.953 kB / 381.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.2871, allocations: 1.969 kB / 381.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.2886, allocations: 1.14 MB / 383 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2886, allocations: 0 / 383 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.289, allocations: 83.58 kB / 383.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002776/0.2892, allocations: 80.64 kB / 383.2 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.2893, allocations: 13.55 kB / 383.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/0.2906, allocations: 1.775 MB / 385 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2906, allocations: 0 / 385 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.2918, allocations: 0.8067 MB / 385.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.2918, allocations: 112 kB / 385.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.984e-05/0.2919, allocations: 11.3 kB / 385.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.2921, allocations: 20.11 kB / 385.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.464e-05/0.2922, allocations: 37.94 kB / 386 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.2922, allocations: 12.02 kB / 386 MB, free: 10.15 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.442e-05/0.2923, allocations: 134.2 kB / 386.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2923, allocations: 0 / 386.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005033/0.2929, allocations: 144.1 kB / 386.3 MB, free: 10.02 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.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 (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 Backend phase and start with SimCode phase: time 0.000201/0.2931, allocations: 145 kB / 386.4 MB, free: 9.914 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009502/0.294, allocations: 0.5717 MB / 387 MB, free: 9.637 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.294, allocations: 0 / 387 MB, free: 9.637 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000519/0.2946, allocations: 385.1 kB / 387.3 MB, free: 9.422 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.2949, allocations: 41 kB / 387.4 MB, free: 9.395 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.296, allocations: 0.8029 MB / 388.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.2963, allocations: 0.8088 MB / 389 MB, free: 8.223 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001709/0.2965, allocations: 51.02 kB / 389 MB, free: 8.211 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.284e-05/0.2965, allocations: 30.83 kB / 389.1 MB, free: 8.203 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2965, allocations: 0 / 389.1 MB, free: 8.203 MB / 302.1 MB Notification: Performance of Templates: time 0.008126/0.3047, allocations: 4.289 MB / 393.4 MB, free: 7.414 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches