Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 225.6 MB / 250.8 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 43.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2619, allocations: 52.15 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005444/0.2674, allocations: 3.736 MB / 424.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00304/0.2704, allocations: 1.443 MB / 426 MB, free: 9.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002722/0.2707, allocations: 8 kB / 426 MB, free: 9.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.2726, allocations: 0.7584 MB / 426.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.2739, allocations: 0.551 MB / 427.4 MB, free: 8.617 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009483/0.2749, allocations: 422.6 kB / 427.8 MB, free: 8.203 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006698/0.2755, allocations: 465.9 kB / 428.2 MB, free: 7.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006094/0.2762, allocations: 297.6 kB / 428.5 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003331/0.2765, allocations: 203.2 kB / 428.7 MB, free: 7.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003295/0.2768, allocations: 267 kB / 429 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.152e-05/0.2769, allocations: 44 kB / 429 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005046/0.2774, allocations: 203.9 kB / 429.2 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.802e-05/0.2775, allocations: 111.5 kB / 429.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002209/0.2777, allocations: 234.8 kB / 429.6 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009103/0.2786, allocations: 0.6771 MB / 430.2 MB, free: 5.727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2786, allocations: 0 / 430.2 MB, free: 5.727 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2786, allocations: 0 / 430.2 MB, free: 5.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.2786, allocations: 0 / 430.2 MB, free: 5.727 MB / 334.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.002238/0.2809, allocations: 0.916 MB / 431.1 MB, free: 4.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.2809, allocations: 15.89 kB / 431.2 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003487/0.2844, allocations: 496.2 kB / 431.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005243/0.2849, allocations: 306.5 kB / 431.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.506e-05/0.285, allocations: 37.69 kB / 432 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-05/0.2851, allocations: 52.38 kB / 432 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.2861, allocations: 0.5259 MB / 432.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.2861, allocations: 0 / 432.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-05/0.2861, allocations: 20 kB / 432.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.2861, allocations: 12 kB / 432.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.2872, allocations: 0.5634 MB / 433.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003036/0.2902, allocations: 1.862 MB / 435 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002357/0.2926, allocations: 2.149 MB / 437.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/0.293, allocations: 182.1 kB / 437.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/0.2931, allocations: 89.53 kB / 437.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.2931, allocations: 39 kB / 437.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.685e-06/0.2932, allocations: 4 kB / 437.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.00207/0.2952, allocations: 0.7856 MB / 438.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.2953, allocations: 63.84 kB / 438.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.2955, allocations: 174.4 kB / 438.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.2955, allocations: 37.7 kB / 438.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.2957, allocations: 221 kB / 438.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.2958, allocations: 170.5 kB / 438.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.296, allocations: 82.25 kB / 439 MB, free: 12.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.2961, allocations: 342.8 kB / 439.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/0.2964, allocations: 149.1 kB / 439.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/0.2968, allocations: 232.8 kB / 439.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006881/0.2975, allocations: 395.4 kB / 440.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2975, allocations: 3.938 kB / 440.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001068/0.2986, allocations: 0.5317 MB / 440.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.2986, allocations: 8 kB / 440.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2986, allocations: 0 / 440.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003744/0.299, allocations: 93.02 kB / 440.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/0.2994, allocations: 91.83 kB / 440.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/0.3017, allocations: 2.053 MB / 442.9 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.302, allocations: 43.72 kB / 442.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.302, allocations: 16 kB / 442.9 MB, free: 8.137 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002545/0.3023, allocations: 177 kB / 443.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.715e-05/0.3024, allocations: 23.86 kB / 443.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.3035, allocations: 0.5473 MB / 443.7 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3035, allocations: 7.938 kB / 443.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.3035, allocations: 4 kB / 443.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.3035, allocations: 3.984 kB / 443.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.3054, allocations: 1.115 MB / 444.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.3054, allocations: 3.938 kB / 444.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/0.3057, allocations: 80.09 kB / 444.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003027/0.306, allocations: 92.67 kB / 445 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.306, allocations: 8 kB / 445 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/0.3082, allocations: 2.034 MB / 447 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.3082, allocations: 4.031 kB / 447 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.3096, allocations: 0.7933 MB / 447.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-05/0.3097, allocations: 112.8 kB / 447.9 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/0.3097, allocations: 12 kB / 447.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.31, allocations: 23.92 kB / 448 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.273e-05/0.3101, allocations: 36.39 kB / 448 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.683e-05/0.3101, allocations: 8 kB / 448 MB, free: 2.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.3102, allocations: 144.2 kB / 448.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3102, allocations: 4.062 kB / 448.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006086/0.3108, allocations: 143.7 kB / 448.3 MB, free: 2.523 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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 (42): * Single equations (assignments): 41 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002633/0.3111, allocations: 135.2 kB / 448.4 MB, free: 2.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.3122, allocations: 0.5385 MB / 449 MB, free: 1.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3122, allocations: 448 / 449 MB, free: 1.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005861/0.3128, allocations: 364.9 kB / 449.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.3132, allocations: 28.12 kB / 449.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.3146, allocations: 0.8125 MB / 450.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.3151, allocations: 0.8084 MB / 451 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001829/0.3152, allocations: 46.95 kB / 451 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.44e-05/0.3153, allocations: 31.42 kB / 451 MB, free: 15.68 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3153, allocations: 0 / 451 MB, free: 15.68 MB / 366.1 MB Notification: Performance of Templates: time 0.009661/0.325, allocations: 4.554 MB / 455.6 MB, free: 11.14 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.38073817640543]