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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001923/0.001923, allocations: 111.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00237/0.00237, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.562/1.562, allocations: 230.2 MB / 255.1 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 71.86 kB / 374.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1063, allocations: 53.31 MB / 427.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005445/0.1117, allocations: 3.731 MB / 431.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2164/0.3281, allocations: 1.493 MB / 433.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002272/0.3283, allocations: 9.406 kB / 433.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001621/0.3299, allocations: 0.7609 MB / 433.8 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007915/0.3307, allocations: 393.1 kB / 434.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008614/0.3316, allocations: 0.5627 MB / 434.8 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.332, allocations: 459.9 kB / 435.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005389/0.3325, allocations: 369.2 kB / 435.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002893/0.3328, allocations: 222.7 kB / 435.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.3331, allocations: 275.6 kB / 436.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.389e-05/0.3331, allocations: 44.19 kB / 436.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004272/0.3336, allocations: 214.4 kB / 436.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.302e-05/0.3336, allocations: 112.8 kB / 436.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.3338, allocations: 236.8 kB / 436.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007443/0.3345, allocations: 0.6993 MB / 437.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3345, allocations: 0.75 kB / 437.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3345, allocations: 0 / 437.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.3345, allocations: 1.062 kB / 437.4 MB, free: 7.48 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.001976/0.3365, allocations: 0.9258 MB / 438.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3366, allocations: 9.812 kB / 438.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003491/0.34, allocations: 475.1 kB / 438.8 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.3405, allocations: 306.9 kB / 439.1 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/0.3405, allocations: 38.66 kB / 439.1 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.673e-05/0.3406, allocations: 51.25 kB / 439.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009722/0.3416, allocations: 0.5388 MB / 439.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.3416, allocations: 5.953 kB / 439.7 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.117e-05/0.3416, allocations: 24.56 kB / 439.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.3416, allocations: 12.47 kB / 439.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.3427, allocations: 0.5765 MB / 440.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002819/0.3455, allocations: 1.962 MB / 442.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.3472, allocations: 2.125 MB / 444.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005653/0.3477, allocations: 230.6 kB / 444.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.3479, allocations: 175.6 kB / 444.8 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.3479, allocations: 41.12 kB / 444.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.585e-06/0.3479, allocations: 0 / 444.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001777/0.3496, allocations: 0.742 MB / 445.6 MB, free: 1.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.3497, allocations: 61.41 kB / 445.6 MB, free: 1.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.3498, allocations: 183.7 kB / 445.8 MB, free: 1.773 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.3499, allocations: 32.17 kB / 445.8 MB, free: 1.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.011e-05/0.35, allocations: 228.5 kB / 446.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.749e-05/0.35, allocations: 170.7 kB / 446.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.3502, allocations: 86.34 kB / 446.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.135e-05/0.3502, allocations: 336 kB / 446.6 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.3505, allocations: 152.9 kB / 446.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/0.3509, allocations: 239.5 kB / 447 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006104/0.3515, allocations: 428.2 kB / 447.4 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3515, allocations: 1.062 kB / 447.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001009/0.3525, allocations: 0.5352 MB / 448 MB, free: 352 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.3525, allocations: 5.984 kB / 448 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.3525, allocations: 2.781 kB / 448 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003516/0.3529, allocations: 77.23 kB / 448.1 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/0.3533, allocations: 95.3 kB / 448.2 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/0.3551, allocations: 1.79 MB / 450 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.3554, allocations: 44.02 kB / 450 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.3555, allocations: 18.67 kB / 450 MB, free: 14.68 MB / 366.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.0002237/0.3557, allocations: 167.1 kB / 450.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.048e-05/0.3558, allocations: 27.28 kB / 450.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.3569, allocations: 0.5392 MB / 450.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.3569, allocations: 5.344 kB / 450.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3569, allocations: 0.9062 kB / 450.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.3569, allocations: 2.812 kB / 450.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.3588, allocations: 1.139 MB / 451.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.3588, allocations: 9.469 kB / 451.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.3591, allocations: 80.34 kB / 452 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002814/0.3594, allocations: 81.17 kB / 452.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.3594, allocations: 12.67 kB / 452.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001864/0.3613, allocations: 1.768 MB / 453.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3613, allocations: 1.156 kB / 453.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.3627, allocations: 0.8124 MB / 454.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.184e-05/0.3628, allocations: 108.7 kB / 454.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.3629, allocations: 12.62 kB / 454.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.3631, allocations: 15.5 kB / 454.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.736e-05/0.3632, allocations: 38.77 kB / 454.8 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.3632, allocations: 20.75 kB / 454.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.3634, allocations: 138.9 kB / 455 MB, free: 11.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3634, allocations: 0 / 455 MB, free: 11.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005706/0.3639, allocations: 148.5 kB / 455.1 MB, free: 11.25 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.0002515/0.3642, allocations: 142.3 kB / 455.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.3653, allocations: 0.5478 MB / 455.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3653, allocations: 1.312 kB / 455.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006746/0.366, allocations: 361.1 kB / 456.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.3664, allocations: 37.11 kB / 456.2 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.368, allocations: 0.8473 MB / 457 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/0.3686, allocations: 0.8055 MB / 457.9 MB, free: 9.438 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.3687, allocations: 40.08 kB / 457.9 MB, free: 9.426 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3687, allocations: 1.375 kB / 457.9 MB, free: 9.426 MB / 366.1 MB Notification: Performance of Templates: time 0.01/0.3787, allocations: 6.556 MB / 464.5 MB, free: 6.93 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.66409265389666]