Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00125/0.00125, allocations: 114 kB / 17.83 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 205.9 kB / 18.78 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.435/1.435, allocations: 230.4 MB / 250 MB, free: 9.102 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 67.83 kB / 367.3 MB, free: 7.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2912, allocations: 53.31 MB / 420.6 MB, free: 8.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.00523/0.2964, allocations: 3.732 MB / 424.4 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.2989, allocations: 1.495 MB / 425.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.2991, allocations: 8 kB / 425.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.3009, allocations: 0.7467 MB / 426.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008527/0.3018, allocations: 392.8 kB / 427 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.3028, allocations: 0.5556 MB / 427.6 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005585/0.3034, allocations: 466 kB / 428 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006489/0.304, allocations: 373.8 kB / 428.4 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003366/0.3044, allocations: 219.2 kB / 428.6 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003226/0.3047, allocations: 274.9 kB / 428.9 MB, free: 240 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.11e-05/0.3047, allocations: 44 kB / 428.9 MB, free: 196 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003952/0.3051, allocations: 219.8 kB / 429.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.775e-05/0.3052, allocations: 107.6 kB / 429.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.3055, allocations: 238.8 kB / 429.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008537/0.3063, allocations: 0.7005 MB / 430.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3063, allocations: 0 / 430.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3063, allocations: 0 / 430.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.3063, allocations: 0 / 430.2 MB, free: 14.93 MB / 350.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.00215/0.3085, allocations: 0.9316 MB / 431.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3085, allocations: 8.031 kB / 431.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00353/0.3121, allocations: 0.4923 MB / 431.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005185/0.3126, allocations: 303.7 kB / 431.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/0.3126, allocations: 41.69 kB / 431.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.034e-05/0.3127, allocations: 52.38 kB / 432 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009875/0.3137, allocations: 0.5337 MB / 432.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.3137, allocations: 0 / 432.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.282e-05/0.3138, allocations: 24 kB / 432.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.3138, allocations: 12 kB / 432.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.3149, allocations: 0.5712 MB / 433.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003068/0.3179, allocations: 1.962 MB / 435.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002273/0.3202, allocations: 2.127 MB / 437.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004746/0.3207, allocations: 228.6 kB / 437.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.3209, allocations: 174.6 kB / 437.6 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.3209, allocations: 35 kB / 437.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.104e-06/0.3209, allocations: 0 / 437.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001916/0.3228, allocations: 0.7427 MB / 438.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.3229, allocations: 59.84 kB / 438.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.3231, allocations: 182.4 kB / 438.6 MB, free: 5.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.3231, allocations: 37.7 kB / 438.7 MB, free: 5.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.3233, allocations: 232.9 kB / 438.9 MB, free: 5.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.3234, allocations: 158.6 kB / 439 MB, free: 5.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.3236, allocations: 86.25 kB / 439.1 MB, free: 5.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3238, allocations: 334.8 kB / 439.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000304/0.3241, allocations: 153 kB / 439.6 MB, free: 4.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/0.3244, allocations: 238.6 kB / 439.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000698/0.3251, allocations: 424.8 kB / 440.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.3251, allocations: 0 / 440.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001026/0.3262, allocations: 0.5396 MB / 440.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3262, allocations: 8 kB / 440.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3262, allocations: 4 kB / 440.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003557/0.3265, allocations: 80.8 kB / 440.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.3269, allocations: 87.89 kB / 441 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.3289, allocations: 1.783 MB / 442.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.3292, allocations: 39.72 kB / 442.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.914e-05/0.3292, allocations: 20 kB / 442.8 MB, free: 1.348 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.0002138/0.3294, allocations: 161.7 kB / 443 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.809e-05/0.3295, allocations: 35.75 kB / 443 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.3307, allocations: 0.5357 MB / 443.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.3307, allocations: 8 kB / 443.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/0.3307, allocations: 7.984 kB / 443.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3307, allocations: 0 / 443.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.3325, allocations: 1.136 MB / 444.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.3325, allocations: 3.938 kB / 444.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/0.3328, allocations: 79.89 kB / 444.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000277/0.3331, allocations: 80.72 kB / 444.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.3331, allocations: 11.98 kB / 444.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/0.335, allocations: 1.77 MB / 446.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.335, allocations: 0 / 446.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.3364, allocations: 0.8068 MB / 447.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.922e-05/0.3365, allocations: 104.8 kB / 447.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.021e-05/0.3366, allocations: 12 kB / 447.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.3368, allocations: 19.98 kB / 447.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.857e-05/0.3369, allocations: 32.39 kB / 447.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.3369, allocations: 20 kB / 447.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.3371, allocations: 135.2 kB / 447.8 MB, free: 12.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3371, allocations: 3.938 kB / 447.8 MB, free: 12.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005363/0.3376, allocations: 155.6 kB / 447.9 MB, free: 11.97 MB / 366.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.0002623/0.3379, allocations: 143.2 kB / 448.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.339, allocations: 0.5309 MB / 448.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.339, allocations: 0 / 448.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000613/0.3396, allocations: 356.9 kB / 448.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.34, allocations: 41.52 kB / 449 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.3415, allocations: 0.832 MB / 449.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.3419, allocations: 0.8084 MB / 450.6 MB, free: 9.184 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001882/0.3421, allocations: 42.95 kB / 450.7 MB, free: 9.137 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.109e-05/0.3422, allocations: 35.44 kB / 450.7 MB, free: 9.102 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3422, allocations: 4 kB / 450.7 MB, free: 9.098 MB / 366.1 MB Notification: Performance of Templates: time 0.01039/0.3526, allocations: 4.434 MB / 455.1 MB, free: 4.68 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches