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.001898/0.001898, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.0022/0.0022, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.508/1.508, allocations: 230.6 MB / 254.1 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.001649/0.001649, allocations: 47.94 kB / 373.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09528/0.09693, allocations: 53.33 MB / 426.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005406/0.1023, allocations: 3.723 MB / 430.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1775/0.2798, allocations: 1.492 MB / 432 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00023/0.28, allocations: 9.094 kB / 432 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001642/0.2817, allocations: 0.7609 MB / 432.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007667/0.2825, allocations: 395.2 kB / 433.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000835/0.2833, allocations: 0.5609 MB / 433.7 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003476/0.2836, allocations: 462 kB / 434.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000503/0.2841, allocations: 363.3 kB / 434.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/0.2844, allocations: 225.3 kB / 434.8 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.2847, allocations: 277.3 kB / 435 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.409e-05/0.2847, allocations: 48.53 kB / 435.1 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003544/0.2851, allocations: 221.3 kB / 435.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.973e-05/0.2852, allocations: 102.3 kB / 435.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.2853, allocations: 233.8 kB / 435.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007679/0.2861, allocations: 0.7023 MB / 436.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2861, allocations: 3.25 kB / 436.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2861, allocations: 0 / 436.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.2861, allocations: 0 / 436.3 MB, free: 7.422 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.002048/0.2882, allocations: 0.9266 MB / 437.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.2882, allocations: 9.688 kB / 437.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003714/0.2919, allocations: 474.5 kB / 437.7 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.2923, allocations: 311.1 kB / 438 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/0.2923, allocations: 39.03 kB / 438.1 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.494e-05/0.2924, allocations: 51.45 kB / 438.1 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009508/0.2934, allocations: 0.5325 MB / 438.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.2934, allocations: 9.031 kB / 438.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.533e-05/0.2934, allocations: 21.11 kB / 438.7 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.2934, allocations: 13.09 kB / 438.7 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.2946, allocations: 0.58 MB / 439.3 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003288/0.2979, allocations: 1.96 MB / 441.2 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/0.2996, allocations: 2.124 MB / 443.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005126/0.3001, allocations: 230.2 kB / 443.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.3002, allocations: 178.4 kB / 443.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.3002, allocations: 38.5 kB / 443.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.713e-06/0.3002, allocations: 0 / 443.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.00178/0.302, allocations: 0.7518 MB / 444.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.302, allocations: 60.95 kB / 444.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.3022, allocations: 179.5 kB / 444.8 MB, free: 1.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.3022, allocations: 35.89 kB / 444.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.079e-05/0.3023, allocations: 227.9 kB / 445 MB, free: 1.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.204e-05/0.3024, allocations: 165.5 kB / 445.2 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.3025, allocations: 90.19 kB / 445.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.237e-05/0.3026, allocations: 336 kB / 445.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.3029, allocations: 149.1 kB / 445.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.3033, allocations: 241.1 kB / 446 MB, free: 0.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006599/0.3039, allocations: 425.3 kB / 446.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3039, allocations: 1.094 kB / 446.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001025/0.305, allocations: 0.5352 MB / 447 MB, free: 260 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.305, allocations: 6.312 kB / 447 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.305, allocations: 2.906 kB / 447 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000345/0.3053, allocations: 80.72 kB / 447 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.3057, allocations: 100.5 kB / 447.1 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.3077, allocations: 1.778 MB / 448.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.308, allocations: 44.52 kB / 449 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.308, allocations: 19.66 kB / 449 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.0002048/0.3082, allocations: 169.3 kB / 449.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.417e-05/0.3083, allocations: 28.42 kB / 449.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.3095, allocations: 0.5315 MB / 449.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3095, allocations: 5.469 kB / 449.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3095, allocations: 4.531 kB / 449.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.3096, allocations: 2.062 kB / 449.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.3114, allocations: 1.144 MB / 450.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.3114, allocations: 5.125 kB / 450.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003564/0.3118, allocations: 83.81 kB / 450.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002989/0.3121, allocations: 78.8 kB / 451 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.3121, allocations: 14.64 kB / 451 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/0.314, allocations: 1.764 MB / 452.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.314, allocations: 1.375 kB / 452.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/0.3155, allocations: 0.8096 MB / 453.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.314e-05/0.3156, allocations: 116.2 kB / 453.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.312e-05/0.3156, allocations: 8.219 kB / 453.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.3159, allocations: 18.33 kB / 453.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.084e-05/0.316, allocations: 36.22 kB / 453.8 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.282e-05/0.316, allocations: 20.34 kB / 453.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.3162, allocations: 133.8 kB / 453.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3162, allocations: 0 / 453.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00056/0.3167, allocations: 156.1 kB / 454.1 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.0002423/0.317, allocations: 144.4 kB / 454.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.3181, allocations: 0.5471 MB / 454.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3181, allocations: 1.938 kB / 454.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006308/0.3187, allocations: 364.4 kB / 455.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.3191, allocations: 35.11 kB / 455.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.3205, allocations: 0.8102 MB / 456 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/0.3209, allocations: 0.8091 MB / 456.8 MB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.3211, allocations: 47.62 kB / 456.8 MB, free: 9.367 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.3212, allocations: 37.22 kB / 456.9 MB, free: 9.355 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3212, allocations: 0 / 456.9 MB, free: 9.355 MB / 366.1 MB Notification: Performance of Templates: time 0.009766/0.331, allocations: 4.499 MB / 461.4 MB, free: 8.105 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.729757681488991]