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.001609/0.001609, allocations: 120 kB / 18.46 MB, free: 4.562 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.001426/0.001426, allocations: 213.6 kB / 21.42 MB, free: 1.605 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 1.442/1.442, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.001629/0.001629, allocations: 47.92 kB / 374.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09832/0.09995, allocations: 53.33 MB / 427.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005287/0.1052, allocations: 3.723 MB / 431.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1824/0.2877, allocations: 1.506 MB / 432.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002666/0.2879, allocations: 8.531 kB / 432.7 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001583/0.2895, allocations: 0.7523 MB / 433.5 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008729/0.2904, allocations: 388 kB / 433.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008405/0.2912, allocations: 0.5618 MB / 434.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003557/0.2916, allocations: 466.1 kB / 434.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005019/0.2921, allocations: 363.3 kB / 435.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002938/0.2924, allocations: 233.8 kB / 435.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.2926, allocations: 272.3 kB / 435.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.627e-05/0.2927, allocations: 44.84 kB / 435.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000377/0.2931, allocations: 225.2 kB / 436 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.11e-05/0.2931, allocations: 107.3 kB / 436.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.2933, allocations: 233 kB / 436.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008034/0.2941, allocations: 0.6956 MB / 437 MB, free: 7.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2941, allocations: 0 / 437 MB, free: 7.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2941, allocations: 3.938 kB / 437 MB, free: 7.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.2941, allocations: 1.125 kB / 437 MB, free: 7.402 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.001965/0.2961, allocations: 0.9318 MB / 437.9 MB, free: 6.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2961, allocations: 9.562 kB / 438 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003493/0.2996, allocations: 477.4 kB / 438.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.3, allocations: 302.3 kB / 438.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.3001, allocations: 43.75 kB / 438.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.26e-05/0.3002, allocations: 55.56 kB / 438.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009296/0.3011, allocations: 0.5315 MB / 439.3 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.3011, allocations: 0 / 439.3 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.158e-05/0.3012, allocations: 26.25 kB / 439.4 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.3012, allocations: 12.69 kB / 439.4 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.3022, allocations: 0.5766 MB / 440 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002629/0.3048, allocations: 1.967 MB / 441.9 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/0.3064, allocations: 2.119 MB / 444 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000493/0.3069, allocations: 227.3 kB / 444.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.892e-05/0.307, allocations: 179 kB / 444.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.3071, allocations: 41.38 kB / 444.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.813e-06/0.3071, allocations: 0 / 444.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001732/0.3088, allocations: 0.7473 MB / 445.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.3088, allocations: 57.27 kB / 445.3 MB, free: 1.809 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.309, allocations: 179.7 kB / 445.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.309, allocations: 35.95 kB / 445.5 MB, free: 1.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.755e-05/0.3091, allocations: 230.4 kB / 445.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.818e-05/0.3092, allocations: 165.5 kB / 445.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.3093, allocations: 86.38 kB / 446 MB, free: 1.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.074e-05/0.3094, allocations: 336.8 kB / 446.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.3097, allocations: 152.9 kB / 446.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.31, allocations: 235.7 kB / 446.7 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006102/0.3106, allocations: 429.9 kB / 447.1 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3106, allocations: 3.938 kB / 447.1 MB, free: 500 kB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001018/0.3116, allocations: 0.5359 MB / 447.6 MB, free: 256 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.3117, allocations: 5.656 kB / 447.6 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3117, allocations: 2.312 kB / 447.6 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003475/0.312, allocations: 77.83 kB / 447.7 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.3124, allocations: 99.42 kB / 447.8 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/0.3144, allocations: 1.781 MB / 449.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/0.3147, allocations: 48.39 kB / 449.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.3148, allocations: 20.41 kB / 449.7 MB, free: 14.59 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.0002429/0.315, allocations: 165.4 kB / 449.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.787e-05/0.3151, allocations: 32.88 kB / 449.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.3163, allocations: 0.5309 MB / 450.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3163, allocations: 5.5 kB / 450.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3163, allocations: 1.031 kB / 450.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.3163, allocations: 6.062 kB / 450.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.3182, allocations: 1.14 MB / 451.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.3182, allocations: 6.188 kB / 451.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.3186, allocations: 80.36 kB / 451.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002953/0.3189, allocations: 80.41 kB / 451.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/0.3189, allocations: 13.72 kB / 451.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/0.3207, allocations: 1.766 MB / 453.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3207, allocations: 2.156 kB / 453.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.3222, allocations: 0.8059 MB / 454.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.3223, allocations: 112.3 kB / 454.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.247e-05/0.3223, allocations: 8.969 kB / 454.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.3226, allocations: 22.84 kB / 454.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.766e-05/0.3227, allocations: 35.19 kB / 454.5 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.3227, allocations: 19.91 kB / 454.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001307/0.3229, allocations: 134.8 kB / 454.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3229, allocations: 3.938 kB / 454.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005997/0.3235, allocations: 151 kB / 454.8 MB, free: 11.16 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.0002488/0.3237, allocations: 147.1 kB / 454.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.3248, allocations: 0.5445 MB / 455.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3248, allocations: 1.5 kB / 455.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006365/0.3255, allocations: 360.5 kB / 455.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.3258, allocations: 39.12 kB / 455.9 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.3272, allocations: 0.8422 MB / 456.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/0.3277, allocations: 0.805 MB / 457.5 MB, free: 9.352 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.3278, allocations: 39.72 kB / 457.5 MB, free: 9.34 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3278, allocations: 4.938 kB / 457.5 MB, free: 9.336 MB / 366.1 MB Notification: Performance of Templates: time 0.01026/0.3381, allocations: 6.561 MB / 464.1 MB, free: 6.82 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 -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.602341343997978]