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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009227/0.0009226, allocations: 104.7 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008612/0.0008614, allocations: 39.95 kB / 350 MB, free: 88 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.214, allocations: 49.43 MB / 399.5 MB, free: 33.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003882/0.218, allocations: 3.706 MB / 403.2 MB, free: 29.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.22, allocations: 1.421 MB / 404.6 MB, free: 28.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.2202, allocations: 12 kB / 404.6 MB, free: 28.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.2215, allocations: 0.7095 MB / 405.3 MB, free: 27.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008414/0.2224, allocations: 0.5066 MB / 405.8 MB, free: 27.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005987/0.223, allocations: 394 kB / 406.2 MB, free: 26.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002906/0.2233, allocations: 454 kB / 406.7 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005511/0.2239, allocations: 419.8 kB / 407.1 MB, free: 25.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.2241, allocations: 199.2 kB / 407.3 MB, free: 25.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.2243, allocations: 274.9 kB / 407.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.683e-05/0.2244, allocations: 32 kB / 407.6 MB, free: 25.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003182/0.2247, allocations: 195.8 kB / 407.7 MB, free: 25.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.441e-05/0.2247, allocations: 99.59 kB / 407.8 MB, free: 25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.2249, allocations: 230.9 kB / 408.1 MB, free: 24.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000493/0.2254, allocations: 0.6814 MB / 408.8 MB, free: 24.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2254, allocations: 0 / 408.8 MB, free: 24.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.2254, allocations: 0 / 408.8 MB, free: 24.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.2254, allocations: 0 / 408.8 MB, free: 24.09 MB / 298.7 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.001727/0.2272, allocations: 0.917 MB / 409.7 MB, free: 23.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.2272, allocations: 8.031 kB / 409.7 MB, free: 23.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003051/0.2303, allocations: 495.9 kB / 410.2 MB, free: 22.63 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.2305, allocations: 307.6 kB / 410.5 MB, free: 22.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.2306, allocations: 41.69 kB / 410.5 MB, free: 22.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.748e-05/0.2307, allocations: 48.38 kB / 410.6 MB, free: 22.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007248/0.2314, allocations: 0.5337 MB / 411.1 MB, free: 21.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.2314, allocations: 0 / 411.1 MB, free: 21.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.381e-05/0.2315, allocations: 24 kB / 411.1 MB, free: 21.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.2315, allocations: 12 kB / 411.1 MB, free: 21.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008063/0.2323, allocations: 0.5712 MB / 411.7 MB, free: 21.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/0.2345, allocations: 1.89 MB / 413.6 MB, free: 19.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.2359, allocations: 2.154 MB / 415.7 MB, free: 16.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.2362, allocations: 262.1 kB / 416 MB, free: 16.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.329e-05/0.2363, allocations: 93.52 kB / 416.1 MB, free: 16.15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.2363, allocations: 42.94 kB / 416.1 MB, free: 16.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 1.713e-06/0.2364, allocations: 0 / 416.1 MB, free: 16.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.00144/0.2378, allocations: 0.7466 MB / 416.9 MB, free: 15.33 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.2378, allocations: 55.84 kB / 416.9 MB, free: 15.26 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.238, allocations: 182.8 kB / 417.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.238, allocations: 37.7 kB / 417.1 MB, free: 15.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.2381, allocations: 220.4 kB / 417.4 MB, free: 14.81 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.895e-05/0.2381, allocations: 157.6 kB / 417.5 MB, free: 14.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.2383, allocations: 90.19 kB / 417.6 MB, free: 14.56 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.2384, allocations: 334.8 kB / 417.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.2386, allocations: 149 kB / 418.1 MB, free: 14.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.2389, allocations: 242.5 kB / 418.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005055/0.2394, allocations: 420.8 kB / 418.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2394, allocations: 0 / 418.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007966/0.2402, allocations: 0.5353 MB / 419.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2402, allocations: 7.984 kB / 419.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2403, allocations: 4 kB / 419.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002895/0.2406, allocations: 77.09 kB / 419.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.2409, allocations: 103.8 kB / 419.4 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/0.2421, allocations: 1.641 MB / 421.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.2423, allocations: 51.52 kB / 421.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.2423, allocations: 16 kB / 421.1 MB, free: 10.79 MB / 298.7 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.0001393/0.2425, allocations: 177.7 kB / 421.3 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.141e-05/0.2425, allocations: 27.62 kB / 421.3 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008805/0.2434, allocations: 0.5434 MB / 421.9 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2434, allocations: 4 kB / 421.9 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.2435, allocations: 4 kB / 421.9 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2435, allocations: 0 / 421.9 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.2447, allocations: 1.149 MB / 423.1 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2448, allocations: 0 / 423.1 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002879/0.245, allocations: 79.89 kB / 423.1 MB, free: 8.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002279/0.2453, allocations: 80.8 kB / 423.2 MB, free: 8.645 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.2453, allocations: 15.92 kB / 423.2 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.2464, allocations: 1.628 MB / 424.9 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2464, allocations: 8.094 kB / 424.9 MB, free: 6.859 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.2483, allocations: 1.965 MB / 426.8 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.2483, allocations: 108.9 kB / 426.9 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.2484, allocations: 15.94 kB / 426.9 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.2486, allocations: 19.98 kB / 427 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.657e-05/0.2487, allocations: 40.33 kB / 427 MB, free: 4.547 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.2487, allocations: 8 kB / 427 MB, free: 4.539 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.82e-05/0.2488, allocations: 144.7 kB / 427.2 MB, free: 4.398 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2488, allocations: 0 / 427.2 MB, free: 4.398 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004965/0.2493, allocations: 151.5 kB / 427.3 MB, free: 4.25 MB / 298.7 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.0001766/0.2495, allocations: 147.7 kB / 427.4 MB, free: 4.098 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008336/0.2503, allocations: 0.5697 MB / 428 MB, free: 3.516 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2504, allocations: 0 / 428 MB, free: 3.516 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004466/0.2508, allocations: 385.7 kB / 428.4 MB, free: 3.125 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.2512, allocations: 27.12 kB / 428.4 MB, free: 3.102 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.2524, allocations: 1.287 MB / 429.7 MB, free: 1.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.2527, allocations: 0.8242 MB / 430.5 MB, free: 0.918 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001992/0.2529, allocations: 50.89 kB / 430.6 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.155e-05/0.2529, allocations: 39.42 kB / 430.6 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.253, allocations: 0 / 430.6 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of Templates: time 0.007653/0.2606, allocations: 4.24 MB / 434.9 MB, free: 12.6 MB / 314.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches