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.001091/0.001091, allocations: 108.4 kB / 17.74 MB, free: 5.23 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.001166/0.001166, allocations: 189.5 kB / 18.67 MB, free: 4.309 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.302/1.302, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009393/0.0009393, allocations: 47.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2617, allocations: 49.43 MB / 401.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005085/0.2668, allocations: 3.697 MB / 405.1 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002559/0.2694, allocations: 1.413 MB / 406.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003824/0.2698, allocations: 16 kB / 406.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001877/0.2717, allocations: 0.7571 MB / 407.3 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.2731, allocations: 0.5364 MB / 407.8 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000908/0.274, allocations: 430.6 kB / 408.2 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008973/0.2749, allocations: 462 kB / 408.7 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000902/0.2758, allocations: 467.2 kB / 409.2 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004465/0.2763, allocations: 215.2 kB / 409.4 MB, free: 1.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004315/0.2767, allocations: 278.9 kB / 409.6 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.2769, allocations: 44 kB / 409.7 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004992/0.2774, allocations: 211.8 kB / 409.9 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.686e-05/0.2775, allocations: 111.6 kB / 410 MB, free: 420 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002545/0.2777, allocations: 230.9 kB / 410.2 MB, free: 188 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009194/0.2787, allocations: 0.6855 MB / 410.9 MB, free: 15.49 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2787, allocations: 3.938 kB / 410.9 MB, free: 15.49 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.2787, allocations: 0 / 410.9 MB, free: 15.49 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.2787, allocations: 3.844 kB / 410.9 MB, free: 15.49 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.00216/0.2809, allocations: 0.9132 MB / 411.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.2809, allocations: 19.88 kB / 411.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00333/0.2843, allocations: 487.9 kB / 412.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/0.2847, allocations: 307.7 kB / 412.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.2848, allocations: 41.69 kB / 412.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.35e-05/0.2849, allocations: 56.28 kB / 412.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009092/0.2858, allocations: 0.5259 MB / 413.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.2858, allocations: 0 / 413.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.887e-05/0.2859, allocations: 20 kB / 413.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.2859, allocations: 20 kB / 413.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009563/0.2869, allocations: 0.5829 MB / 413.9 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002768/0.2897, allocations: 1.859 MB / 415.7 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.2917, allocations: 2.178 MB / 417.9 MB, free: 7.914 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004696/0.2922, allocations: 262.1 kB / 418.2 MB, free: 7.656 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.975e-05/0.2923, allocations: 89.55 kB / 418.2 MB, free: 7.551 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.2924, allocations: 42.98 kB / 418.3 MB, free: 7.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 1.964e-06/0.2924, allocations: 0 / 418.3 MB, free: 7.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=47): time 0.001684/0.2941, allocations: 0.7388 MB / 419 MB, free: 6.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.2941, allocations: 55.84 kB / 419.1 MB, free: 6.664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.2943, allocations: 186.3 kB / 419.3 MB, free: 6.473 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.2944, allocations: 33.7 kB / 419.3 MB, free: 6.434 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.2945, allocations: 220.4 kB / 419.5 MB, free: 6.211 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.2946, allocations: 161.6 kB / 419.7 MB, free: 6.051 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.2947, allocations: 86.25 kB / 419.8 MB, free: 5.961 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2949, allocations: 334.8 kB / 420.1 MB, free: 5.625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.2952, allocations: 153 kB / 420.2 MB, free: 5.477 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.2955, allocations: 238.6 kB / 420.5 MB, free: 5.215 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006217/0.2961, allocations: 420.8 kB / 420.9 MB, free: 4.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2961, allocations: 0 / 420.9 MB, free: 4.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009871/0.2971, allocations: 0.5355 MB / 421.4 MB, free: 4.227 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.2972, allocations: 4 kB / 421.4 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.2972, allocations: 4 kB / 421.4 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003389/0.2975, allocations: 92.92 kB / 421.5 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.2979, allocations: 95.89 kB / 421.6 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.2996, allocations: 1.766 MB / 423.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/0.2999, allocations: 51.52 kB / 423.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.2999, allocations: 16 kB / 423.4 MB, free: 2.062 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.000195/0.3001, allocations: 169.8 kB / 423.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.9e-05/0.3002, allocations: 23.72 kB / 423.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.3012, allocations: 0.5434 MB / 424.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3012, allocations: 4 kB / 424.2 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3012, allocations: 4 kB / 424.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3012, allocations: 0 / 424.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.3028, allocations: 1.14 MB / 425.3 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.3028, allocations: 3.938 kB / 425.3 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/0.3032, allocations: 83.83 kB / 425.4 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002701/0.3034, allocations: 84.94 kB / 425.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.3035, allocations: 12 kB / 425.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/0.3051, allocations: 1.766 MB / 427.3 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3051, allocations: 0 / 427.3 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.3064, allocations: 0.8067 MB / 428.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.589e-05/0.3065, allocations: 104.7 kB / 428.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/0.3065, allocations: 12.06 kB / 428.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.3067, allocations: 19.98 kB / 428.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.3e-05/0.3068, allocations: 40.33 kB / 428.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.3069, allocations: 23.86 kB / 428.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.307, allocations: 136.2 kB / 428.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.307, allocations: 0 / 428.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004682/0.3075, allocations: 147.5 kB / 428.5 MB, free: 12.68 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.0002259/0.3077, allocations: 140.1 kB / 428.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.3087, allocations: 0.5697 MB / 429.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3087, allocations: 0 / 429.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005505/0.3093, allocations: 381.8 kB / 429.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.3096, allocations: 27.98 kB / 429.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.3109, allocations: 0.8442 MB / 430.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.3113, allocations: 0.8045 MB / 431.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.3114, allocations: 31.44 kB / 431.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3114, allocations: 4 kB / 431.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of Templates: time 0.008742/0.3202, allocations: 6.383 MB / 437.7 MB, free: 3.41 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