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.001887/0.001887, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002218/0.002218, allocations: 212.4 kB / 23.74 MB, free: 4.656 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 / 257.5 MB, free: 8.008 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.001643/0.001643, allocations: 47.92 kB / 378.3 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2446, allocations: 53.36 MB / 431.6 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.00545/0.2501, allocations: 3.741 MB / 435.4 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002772/0.2528, allocations: 1.522 MB / 436.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.253, allocations: 12 kB / 436.9 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.2548, allocations: 0.7538 MB / 437.7 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008577/0.2557, allocations: 390 kB / 438 MB, free: 460 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.2568, allocations: 0.5661 MB / 438.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005206/0.2573, allocations: 462 kB / 439.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006762/0.258, allocations: 435.3 kB / 439.5 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003289/0.2583, allocations: 227.1 kB / 439.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/0.2587, allocations: 271 kB / 440 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.096e-05/0.2587, allocations: 44 kB / 440 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003855/0.2591, allocations: 223.8 kB / 440.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.914e-05/0.2592, allocations: 107.6 kB / 440.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.2594, allocations: 234.8 kB / 440.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008303/0.2603, allocations: 0.7005 MB / 441.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2603, allocations: 0 / 441.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2603, allocations: 0 / 441.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.2603, allocations: 4 kB / 441.3 MB, free: 13.21 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.002032/0.2623, allocations: 0.8524 MB / 442.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2623, allocations: 12.03 kB / 442.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003388/0.2657, allocations: 476.1 kB / 442.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004384/0.2662, allocations: 253.9 kB / 442.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.146e-05/0.2662, allocations: 41.62 kB / 442.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.59e-05/0.2663, allocations: 52.38 kB / 442.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000963/0.2673, allocations: 0.5298 MB / 443.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.2673, allocations: 0 / 443.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.036e-05/0.2673, allocations: 20 kB / 443.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.2673, allocations: 12 kB / 443.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.2684, allocations: 0.5829 MB / 444.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002952/0.2714, allocations: 1.727 MB / 445.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.2728, allocations: 0.5618 MB / 446.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/0.2733, allocations: 236.7 kB / 446.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.293e-05/0.2733, allocations: 24.41 kB / 446.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.2734, allocations: 35 kB / 446.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.673e-06/0.2734, allocations: 0 / 446.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001751/0.2751, allocations: 0.6674 MB / 447.3 MB, free: 7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.2752, allocations: 55.84 kB / 447.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.2754, allocations: 191 kB / 447.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.2754, allocations: 33.7 kB / 447.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.2756, allocations: 229 kB / 447.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.2757, allocations: 166.5 kB / 448 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.2758, allocations: 82.19 kB / 448.1 MB, free: 6.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.276, allocations: 334.8 kB / 448.4 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.2763, allocations: 156.9 kB / 448.5 MB, free: 5.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/0.2767, allocations: 249.8 kB / 448.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007198/0.2774, allocations: 424.8 kB / 449.2 MB, free: 5.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.2774, allocations: 0 / 449.2 MB, free: 5.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001055/0.2784, allocations: 0.5355 MB / 449.7 MB, free: 4.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.2785, allocations: 8 kB / 449.7 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2785, allocations: 0 / 449.7 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003421/0.2788, allocations: 89.08 kB / 449.8 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.2792, allocations: 91.83 kB / 449.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.2811, allocations: 1.666 MB / 451.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.2814, allocations: 51.72 kB / 451.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.2814, allocations: 16 kB / 451.7 MB, free: 2.426 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.0001992/0.2816, allocations: 165.8 kB / 451.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/0.2817, allocations: 31.8 kB / 451.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.2828, allocations: 0.5316 MB / 452.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2828, allocations: 4 kB / 452.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2828, allocations: 8 kB / 452.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.2828, allocations: 3.984 kB / 452.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.2846, allocations: 1.112 MB / 453.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.2846, allocations: 8 kB / 453.5 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003372/0.2849, allocations: 79.89 kB / 453.6 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002643/0.2852, allocations: 76.8 kB / 453.7 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/0.2852, allocations: 15.98 kB / 453.7 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.287, allocations: 1.67 MB / 455.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.287, allocations: 0 / 455.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.2884, allocations: 0.8068 MB / 456.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.2885, allocations: 31.81 kB / 456.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.2885, allocations: 8 kB / 456.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.2888, allocations: 19.98 kB / 456.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.042e-05/0.2888, allocations: 36.36 kB / 456.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.2889, allocations: 23.88 kB / 456.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.289, allocations: 139.3 kB / 456.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.289, allocations: 0 / 456.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004976/0.2895, allocations: 147.7 kB / 456.6 MB, free: 13.3 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.0002247/0.2897, allocations: 147.1 kB / 456.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.2908, allocations: 0.5429 MB / 457.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2908, allocations: 4.062 kB / 457.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005851/0.2914, allocations: 356.9 kB / 457.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.2917, allocations: 38.98 kB / 457.6 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.2932, allocations: 0.8369 MB / 458.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.2936, allocations: 0.8045 MB / 459.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001637/0.2938, allocations: 46.95 kB / 459.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.027e-05/0.2939, allocations: 35.42 kB / 459.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2939, allocations: 0 / 459.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of Templates: time 0.01037/0.3042, allocations: 4.744 MB / 464.1 MB, free: 5.68 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/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: 4.560820115962997]