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.001326/0.001326, allocations: 118.1 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001742/0.001743, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 60.12 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2552, allocations: 50.55 MB / 409.2 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005102/0.2603, allocations: 3.693 MB / 412.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002344/0.2627, allocations: 1.495 MB / 414.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.2629, allocations: 8 kB / 414.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001711/0.2646, allocations: 0.7502 MB / 415.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008193/0.2654, allocations: 386 kB / 415.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009522/0.2664, allocations: 0.555 MB / 416.1 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004358/0.2669, allocations: 470 kB / 416.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006644/0.2675, allocations: 465.6 kB / 417 MB, free: 9.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.2678, allocations: 219.2 kB / 417.2 MB, free: 9.559 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.2681, allocations: 278.9 kB / 417.5 MB, free: 9.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.484e-05/0.2682, allocations: 44 kB / 417.6 MB, free: 9.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003388/0.2685, allocations: 211.8 kB / 417.8 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.65e-05/0.2686, allocations: 111.6 kB / 417.9 MB, free: 8.926 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.2688, allocations: 238.8 kB / 418.1 MB, free: 8.691 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007006/0.2695, allocations: 0.7022 MB / 418.8 MB, free: 7.988 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2695, allocations: 3.938 kB / 418.8 MB, free: 7.984 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2695, allocations: 0 / 418.8 MB, free: 7.984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.2695, allocations: 0 / 418.8 MB, free: 7.984 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.001962/0.2715, allocations: 0.917 MB / 419.7 MB, free: 7.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.2715, allocations: 12.02 kB / 419.7 MB, free: 7.008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003416/0.275, allocations: 492 kB / 420.2 MB, free: 6.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.2754, allocations: 311.6 kB / 420.5 MB, free: 6.184 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.949e-05/0.2755, allocations: 37.69 kB / 420.6 MB, free: 6.148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-05/0.2756, allocations: 52.38 kB / 420.6 MB, free: 6.098 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008889/0.2765, allocations: 0.5298 MB / 421.2 MB, free: 5.559 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.2765, allocations: 0 / 421.2 MB, free: 5.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.289e-05/0.2765, allocations: 23.98 kB / 421.2 MB, free: 5.535 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.2766, allocations: 15.94 kB / 421.2 MB, free: 5.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009831/0.2776, allocations: 0.579 MB / 421.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002807/0.2804, allocations: 1.942 MB / 423.7 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002216/0.2826, allocations: 2.17 MB / 425.9 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004681/0.2831, allocations: 270 kB / 426.1 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/0.2833, allocations: 174.6 kB / 426.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.2833, allocations: 39 kB / 426.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.754e-06/0.2833, allocations: 0 / 426.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001743/0.2851, allocations: 0.7388 MB / 427.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.2851, allocations: 63.83 kB / 427.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.2853, allocations: 186.2 kB / 427.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.2853, allocations: 37.64 kB / 427.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.2855, allocations: 216.5 kB / 427.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.2856, allocations: 157.7 kB / 427.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.2857, allocations: 86.23 kB / 427.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.2859, allocations: 334.8 kB / 428.1 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.2862, allocations: 157 kB / 428.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003302/0.2865, allocations: 234.6 kB / 428.5 MB, free: 13.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000617/0.2872, allocations: 424.8 kB / 428.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2872, allocations: 0 / 428.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009894/0.2882, allocations: 0.5318 MB / 429.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.2882, allocations: 8 kB / 429.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2882, allocations: 0 / 429.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003608/0.2886, allocations: 84.73 kB / 429.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003721/0.289, allocations: 91.89 kB / 429.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.2908, allocations: 1.775 MB / 431.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.2911, allocations: 51.47 kB / 431.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.2912, allocations: 16 kB / 431.5 MB, free: 10.36 MB / 350.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.0002166/0.2914, allocations: 173.6 kB / 431.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/0.2915, allocations: 27.62 kB / 431.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.2925, allocations: 0.5396 MB / 432.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/0.2925, allocations: 4 kB / 432.2 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2925, allocations: 4 kB / 432.2 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.2925, allocations: 7.984 kB / 432.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.2942, allocations: 1.14 MB / 433.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.2942, allocations: 7.922 kB / 433.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/0.2946, allocations: 79.84 kB / 433.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002535/0.2948, allocations: 76.8 kB / 433.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.2949, allocations: 12 kB / 433.6 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.2964, allocations: 1.766 MB / 435.3 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2964, allocations: 0 / 435.3 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.2977, allocations: 0.8028 MB / 436.1 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.28e-05/0.2978, allocations: 104.7 kB / 436.2 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/0.2979, allocations: 15.98 kB / 436.2 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.2981, allocations: 15.94 kB / 436.3 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.2982, allocations: 40.39 kB / 436.3 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.2982, allocations: 23.92 kB / 436.3 MB, free: 5.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.2984, allocations: 131.2 kB / 436.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2984, allocations: 0 / 436.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005722/0.299, allocations: 151.5 kB / 436.6 MB, free: 4.977 MB / 350.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.0002843/0.2993, allocations: 143.1 kB / 436.7 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.3004, allocations: 0.5737 MB / 437.3 MB, free: 4.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3004, allocations: 3.938 kB / 437.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000573/0.301, allocations: 381 kB / 437.7 MB, free: 3.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.3013, allocations: 32.69 kB / 437.7 MB, free: 3.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.3027, allocations: 0.8013 MB / 438.5 MB, free: 2.992 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.3031, allocations: 0.8122 MB / 439.3 MB, free: 2.152 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001691/0.3033, allocations: 50.95 kB / 439.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.67e-05/0.3034, allocations: 35.42 kB / 439.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3034, allocations: 3.938 kB / 439.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of Templates: time 0.008451/0.3119, allocations: 4.372 MB / 443.8 MB, free: 13.69 MB / 366.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/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