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.001354/0.001354, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001481/0.001481, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.46/1.46, allocations: 230.6 MB / 258.2 MB, free: 7.746 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.001606/0.001606, allocations: 55.91 kB / 379 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2213, allocations: 53.36 MB / 432.3 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005358/0.2266, allocations: 3.403 MB / 435.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002577/0.2292, allocations: 1.39 MB / 437.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.2294, allocations: 8 kB / 437.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.2312, allocations: 0.703 MB / 437.8 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008918/0.232, allocations: 378.1 kB / 438.2 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.2331, allocations: 0.525 MB / 438.7 MB, free: 264 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005007/0.2336, allocations: 469.9 kB / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006696/0.2343, allocations: 422.1 kB / 439.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003221/0.2346, allocations: 219.2 kB / 439.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003477/0.2349, allocations: 235 kB / 440 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.644e-05/0.235, allocations: 47.94 kB / 440.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003928/0.2354, allocations: 207.8 kB / 440.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.867e-05/0.2355, allocations: 115.6 kB / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.2357, allocations: 195 kB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008377/0.2365, allocations: 0.7074 MB / 441.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2365, allocations: 0 / 441.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2365, allocations: 0 / 441.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.2365, allocations: 0 / 441.3 MB, free: 13.67 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.002084/0.2386, allocations: 0.8524 MB / 442.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.2387, allocations: 8.031 kB / 442.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003476/0.2421, allocations: 480.1 kB / 442.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004803/0.2426, allocations: 249.8 kB / 442.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.433e-05/0.2427, allocations: 41.69 kB / 442.9 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.315e-05/0.2428, allocations: 48.38 kB / 443 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.2438, allocations: 0.5588 MB / 443.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.2438, allocations: 4 kB / 443.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.472e-05/0.2439, allocations: 20 kB / 443.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.2439, allocations: 19.98 kB / 443.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.245, allocations: 0.5673 MB / 444.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002874/0.2478, allocations: 1.513 MB / 445.6 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.2493, allocations: 0.5429 MB / 446.2 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004892/0.2498, allocations: 230 kB / 446.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.51e-05/0.2499, allocations: 28.41 kB / 446.4 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.2499, allocations: 39 kB / 446.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.144e-06/0.2499, allocations: 0 / 446.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001886/0.2518, allocations: 0.6596 MB / 447.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.2519, allocations: 63.84 kB / 447.2 MB, free: 7.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.252, allocations: 174.1 kB / 447.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.2521, allocations: 37.7 kB / 447.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.2522, allocations: 221 kB / 447.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.2524, allocations: 170.5 kB / 447.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.2525, allocations: 86.14 kB / 447.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.2527, allocations: 334.8 kB / 448.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/0.253, allocations: 152.9 kB / 448.4 MB, free: 6.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003998/0.2534, allocations: 237.9 kB / 448.6 MB, free: 6.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007352/0.2541, allocations: 420.9 kB / 449 MB, free: 5.711 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.2541, allocations: 4 kB / 449 MB, free: 5.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001103/0.2553, allocations: 0.5355 MB / 449.5 MB, free: 5.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.2553, allocations: 4.281 kB / 449.5 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.2553, allocations: 12 kB / 449.6 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000357/0.2556, allocations: 76.8 kB / 449.6 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.2561, allocations: 103.8 kB / 449.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.258, allocations: 1.632 MB / 451.4 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.2583, allocations: 39.73 kB / 451.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.2583, allocations: 19.98 kB / 451.4 MB, free: 3.176 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.0002331/0.2585, allocations: 165.7 kB / 451.6 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.997e-05/0.2586, allocations: 31.8 kB / 451.6 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.2598, allocations: 0.5388 MB / 452.2 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.2598, allocations: 4 kB / 452.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.2598, allocations: 0 / 452.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.2598, allocations: 3.984 kB / 452.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.2615, allocations: 0.9877 MB / 453.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2615, allocations: 0 / 453.1 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/0.2619, allocations: 79.89 kB / 453.2 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002828/0.2622, allocations: 80.78 kB / 453.3 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.2622, allocations: 12 kB / 453.3 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/0.264, allocations: 1.636 MB / 455 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.264, allocations: 7.938 kB / 455 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.2654, allocations: 0.803 MB / 455.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.2655, allocations: 35.7 kB / 455.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.2655, allocations: 12 kB / 455.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.2658, allocations: 15.98 kB / 455.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-05/0.2658, allocations: 36.36 kB / 455.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.2659, allocations: 16 kB / 455.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.266, allocations: 124.1 kB / 456 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.266, allocations: 0 / 456 MB, free: 14.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005616/0.2665, allocations: 147.7 kB / 456.1 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.000239/0.2668, allocations: 147.2 kB / 456.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.2679, allocations: 0.5464 MB / 456.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2679, allocations: 0 / 456.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006113/0.2685, allocations: 353.7 kB / 457.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.2689, allocations: 38.52 kB / 457.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.2703, allocations: 0.8686 MB / 458.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.2706, allocations: 196.8 kB / 458.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.2707, allocations: 47.42 kB / 458.3 MB, free: 11.99 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2707, allocations: 0 / 458.3 MB, free: 11.99 MB / 366.1 MB Notification: Performance of Templates: time 0.01008/0.2808, allocations: 6.642 MB / 465 MB, free: 5.344 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.479055117815733]