Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002332/0.002332, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.097/2.097, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 43.92 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3176, allocations: 53.36 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.006432/0.3241, allocations: 3.404 MB / 435.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00327/0.3273, allocations: 1.394 MB / 437.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002741/0.3276, allocations: 8 kB / 437.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002325/0.3299, allocations: 0.6993 MB / 437.8 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.3313, allocations: 390 kB / 438.2 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.3328, allocations: 0.5232 MB / 438.7 MB, free: 316 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007403/0.3335, allocations: 458 kB / 439.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009772/0.3345, allocations: 437.7 kB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004138/0.3349, allocations: 223.2 kB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004126/0.3353, allocations: 274.9 kB / 440.1 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.461e-05/0.3354, allocations: 44 kB / 440.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005892/0.336, allocations: 215.8 kB / 440.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.3361, allocations: 111.6 kB / 440.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002364/0.3363, allocations: 191.1 kB / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.3376, allocations: 0.7005 MB / 441.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3376, allocations: 0 / 441.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.3376, allocations: 0 / 441.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.3376, allocations: 0 / 441.3 MB, free: 13.69 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.002822/0.3404, allocations: 0.8602 MB / 442.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.3405, allocations: 8.031 kB / 442.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005499/0.346, allocations: 476.1 kB / 442.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000782/0.3468, allocations: 245.9 kB / 442.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.213e-05/0.3468, allocations: 45.69 kB / 443 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.347, allocations: 48.38 kB / 443 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.3484, allocations: 0.551 MB / 443.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/0.3484, allocations: 7.984 kB / 443.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-05/0.3485, allocations: 28 kB / 443.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.3485, allocations: 12 kB / 443.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.35, allocations: 0.579 MB / 444.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003765/0.3538, allocations: 1.505 MB / 445.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/0.3557, allocations: 0.5506 MB / 446.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006083/0.3563, allocations: 240.9 kB / 446.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.3564, allocations: 16.42 kB / 446.5 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.3564, allocations: 39 kB / 446.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.986e-06/0.3564, allocations: 0 / 446.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.002343/0.3588, allocations: 0.6675 MB / 447.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.3588, allocations: 55.84 kB / 447.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.3591, allocations: 178.1 kB / 447.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/0.3591, allocations: 29.7 kB / 447.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.3593, allocations: 225 kB / 447.7 MB, free: 7.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.3595, allocations: 170.5 kB / 447.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.3596, allocations: 86.12 kB / 447.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3598, allocations: 338.8 kB / 448.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.3602, allocations: 144.9 kB / 448.4 MB, free: 6.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005044/0.3607, allocations: 249.8 kB / 448.6 MB, free: 6.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009602/0.3617, allocations: 420.9 kB / 449.1 MB, free: 5.711 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3617, allocations: 0 / 449.1 MB, free: 5.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001426/0.3631, allocations: 0.5358 MB / 449.6 MB, free: 5.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.3631, allocations: 8 kB / 449.6 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.3631, allocations: 4 kB / 449.6 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004325/0.3636, allocations: 76.8 kB / 449.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005412/0.3641, allocations: 99.83 kB / 449.8 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/0.3664, allocations: 1.636 MB / 451.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003629/0.3668, allocations: 43.73 kB / 451.5 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/0.3668, allocations: 19.98 kB / 451.5 MB, free: 3.18 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.0002703/0.3671, allocations: 169.7 kB / 451.6 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.363e-05/0.3672, allocations: 23.92 kB / 451.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.3687, allocations: 0.5426 MB / 452.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.3687, allocations: 4 kB / 452.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3687, allocations: 0 / 452.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.3687, allocations: 7.984 kB / 452.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/0.371, allocations: 0.9837 MB / 453.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.371, allocations: 0 / 453.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004752/0.3715, allocations: 71.91 kB / 453.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000373/0.3719, allocations: 84.73 kB / 453.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/0.3719, allocations: 12 kB / 453.4 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002239/0.3742, allocations: 1.639 MB / 455 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3742, allocations: 0 / 455 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.3761, allocations: 0.7991 MB / 455.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.317e-05/0.3761, allocations: 39.7 kB / 455.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.272e-05/0.3762, allocations: 11.98 kB / 455.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003297/0.3765, allocations: 16 kB / 455.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.3766, allocations: 40.3 kB / 455.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.701e-05/0.3767, allocations: 16 kB / 455.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.3768, allocations: 124.1 kB / 456 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3768, allocations: 0 / 456 MB, free: 14.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008015/0.3776, allocations: 155.7 kB / 456.2 MB, free: 14.26 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.0002869/0.3779, allocations: 139.1 kB / 456.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.3794, allocations: 0.554 MB / 456.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3794, allocations: 0 / 456.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007932/0.3802, allocations: 349.8 kB / 457.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.3806, allocations: 39.83 kB / 457.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.3826, allocations: 0.8241 MB / 458.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.3828, allocations: 204.8 kB / 458.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002459/0.3831, allocations: 46.95 kB / 458.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.3832, allocations: 39.42 kB / 458.4 MB, free: 12 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3832, allocations: 4 kB / 458.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of Templates: time 0.0136/0.3968, allocations: 4.831 MB / 463.2 MB, free: 7.203 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.028969010003493]