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.001099/0.001099, allocations: 76.48 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000972/0.002071, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006292/0.0006292, allocations: 148.9 kB / 11.24 MB, free: 2.93 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008665/0.001496, allocations: 459.6 kB / 11.69 MB, free: 2.477 MB / 13.93 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 0.9194/0.9194, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08565/1.005, allocations: 52.5 MB / 238.3 MB, free: 4.43 MB / 234.7 MB " [Timeout remaining time 179] 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 1.242e-06/1.242e-06, allocations: 0 / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.518e-06/1.076e-05, allocations: 2.875 kB / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.003085/0.003096, allocations: 3.647 MB / 243.2 MB, free: 15.52 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.004556, allocations: 1.44 MB / 244.6 MB, free: 14.07 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.004678, allocations: 8 kB / 244.6 MB, free: 14.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.005832, allocations: 0.7931 MB / 245.4 MB, free: 13.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008449/0.006677, allocations: 0.5205 MB / 246 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005173/0.007194, allocations: 417.4 kB / 246.4 MB, free: 12.34 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003443/0.007538, allocations: 477.7 kB / 246.8 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003991/0.007937, allocations: 344.1 kB / 247.2 MB, free: 11.53 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003468/0.008284, allocations: 319.2 kB / 247.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.008517, allocations: 203.5 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.64e-05/0.008563, allocations: 40 kB / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002864/0.00885, allocations: 211.6 kB / 247.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.475e-05/0.008904, allocations: 75.75 kB / 248 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.009012, allocations: 123.8 kB / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005411/0.009553, allocations: 470.3 kB / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.449e-05/0.009577, allocations: 4 kB / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.009578, allocations: 0 / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.638e-05/0.009605, allocations: 0 / 248.6 MB, free: 10.11 MB / 250.7 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.001339/0.01094, allocations: 1.016 MB / 249.6 MB, free: 9.047 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.01098, allocations: 16.02 kB / 249.6 MB, free: 9.031 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/0.01275, allocations: 0.6758 MB / 250.3 MB, free: 8.355 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.01298, allocations: 173.2 kB / 250.5 MB, free: 8.16 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.01301, allocations: 45.69 kB / 250.5 MB, free: 8.117 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.476e-05/0.01307, allocations: 52.38 kB / 250.6 MB, free: 8.066 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/0.01346, allocations: 385.4 kB / 250.9 MB, free: 7.672 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.01348, allocations: 4.125 kB / 250.9 MB, free: 7.668 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.0135, allocations: 24.12 kB / 251 MB, free: 7.645 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/0.01352, allocations: 16 kB / 251 MB, free: 7.629 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.0138, allocations: 226.3 kB / 251.2 MB, free: 7.41 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.01552, allocations: 1.186 MB / 252.4 MB, free: 6.168 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006602/0.01618, allocations: 0.5104 MB / 252.9 MB, free: 5.648 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.543e-05/0.01626, allocations: 90.31 kB / 253 MB, free: 5.551 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.662e-05/0.01631, allocations: 20.5 kB / 253 MB, free: 5.531 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.01633, allocations: 46.92 kB / 253 MB, free: 5.477 MB / 250.7 MB Notification: Performance of pre-optimization done (n=47): time 1.803e-06/0.01634, allocations: 0 / 253 MB, free: 5.477 MB / 250.7 MB Notification: Performance of matching and sorting (n=47): time 0.0006533/0.01699, allocations: 418.6 kB / 253.5 MB, free: 5.062 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.01702, allocations: 63.84 kB / 253.5 MB, free: 4.988 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.078e-05/0.0171, allocations: 166.5 kB / 253.7 MB, free: 4.812 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.01712, allocations: 29.7 kB / 253.7 MB, free: 4.777 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.0172, allocations: 228.9 kB / 253.9 MB, free: 4.551 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.316e-05/0.01727, allocations: 166.6 kB / 254.1 MB, free: 4.387 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.412e-05/0.01734, allocations: 86.11 kB / 254.2 MB, free: 4.297 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.148e-05/0.01741, allocations: 338.8 kB / 254.5 MB, free: 3.957 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.648e-05/0.01747, allocations: 56.97 kB / 254.6 MB, free: 3.902 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.022e-05/0.01756, allocations: 128.3 kB / 254.7 MB, free: 3.75 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.01773, allocations: 228.6 kB / 254.9 MB, free: 3.504 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01774, allocations: 0 / 254.9 MB, free: 3.504 MB / 250.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000303/0.01804, allocations: 311 kB / 255.2 MB, free: 3.188 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.01805, allocations: 8 kB / 255.2 MB, free: 3.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.01806, allocations: 0 / 255.2 MB, free: 3.18 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000232/0.01829, allocations: 88.97 kB / 255.3 MB, free: 3.09 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.01849, allocations: 103.8 kB / 255.4 MB, free: 2.988 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009164/0.01941, allocations: 1.59 MB / 257 MB, free: 1.309 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.01951, allocations: 43.67 kB / 257 MB, free: 1.266 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.01952, allocations: 12 kB / 257.1 MB, free: 1.254 MB / 250.7 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 8.627e-05/0.01961, allocations: 129.7 kB / 257.2 MB, free: 1.117 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.01964, allocations: 35.97 kB / 257.2 MB, free: 1.082 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003477/0.01999, allocations: 318.3 kB / 257.5 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.02, allocations: 4 kB / 257.5 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.02, allocations: 11.94 kB / 257.5 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.02001, allocations: 3.984 kB / 257.5 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006303/0.02064, allocations: 0.6065 MB / 258.2 MB, free: 112 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.02064, allocations: 0 / 258.2 MB, free: 112 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.02081, allocations: 83.89 kB / 258.2 MB, free: 28 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.02085, allocations: 31.83 kB / 258.3 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001858/0.02103, allocations: 84.88 kB / 258.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.02105, allocations: 8 kB / 258.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009595/0.02201, allocations: 1.59 MB / 259.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02201, allocations: 0 / 259.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.02239, allocations: 439.5 kB / 260.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.02242, allocations: 20 kB / 260.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.324e-05/0.02251, allocations: 15.98 kB / 260.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.02256, allocations: 40.36 kB / 260.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.02258, allocations: 8 kB / 260.5 MB, free: 13.69 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.018e-05/0.02261, allocations: 42.3 kB / 260.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.02261, allocations: 0 / 260.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002922/0.0229, allocations: 159.5 kB / 260.7 MB, free: 13.49 MB / 266.7 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.0001542/0.02305, allocations: 124.3 kB / 260.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003747/0.02343, allocations: 393.6 kB / 261.2 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.02344, allocations: 4 kB / 261.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.02364, allocations: 287.1 kB / 261.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.02383, allocations: 64.25 kB / 261.5 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/0.02751, allocations: 0.7352 MB / 262.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.797e-05/0.02757, allocations: 114.2 kB / 262.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.02768, allocations: 46.95 kB / 262.4 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.02779, allocations: 95.36 kB / 262.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02779, allocations: 0 / 262.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of Templates: time 0.006619/0.03441, allocations: 4.616 MB / 267.1 MB, free: 6.98 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4155526105314493]