Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001543/0.001543, allocations: 116.8 kB / 19.17 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001645/0.001645, allocations: 214.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.426/1.426, allocations: 230.4 MB / 255.4 MB, free: 15.01 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 79.81 kB / 374.7 MB, free: 9.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1079, allocations: 53.31 MB / 428.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.00534/0.1133, allocations: 3.731 MB / 431.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2031/0.3164, allocations: 1.492 MB / 433.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.3166, allocations: 9.625 kB / 433.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.3181, allocations: 0.7578 MB / 434 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007832/0.3189, allocations: 392 kB / 434.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008529/0.3198, allocations: 0.5509 MB / 435 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003836/0.3202, allocations: 465.9 kB / 435.4 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004527/0.3206, allocations: 297 kB / 435.7 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002787/0.3209, allocations: 204.8 kB / 435.9 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.3212, allocations: 268.1 kB / 436.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.014e-05/0.3212, allocations: 40.97 kB / 436.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003833/0.3216, allocations: 214.4 kB / 436.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.291e-05/0.3217, allocations: 106.8 kB / 436.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.3218, allocations: 235 kB / 436.8 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007727/0.3226, allocations: 0.6889 MB / 437.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3226, allocations: 0 / 437.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3226, allocations: 0 / 437.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.3226, allocations: 0.7031 kB / 437.5 MB, free: 7.465 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.00198/0.3246, allocations: 0.9189 MB / 438.4 MB, free: 6.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3246, allocations: 9.984 kB / 438.4 MB, free: 6.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003435/0.3281, allocations: 475.6 kB / 438.9 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004293/0.3285, allocations: 306.7 kB / 439.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.3285, allocations: 37.69 kB / 439.2 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.818e-05/0.3286, allocations: 51.67 kB / 439.2 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009444/0.3296, allocations: 0.5174 MB / 439.8 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.3296, allocations: 9.594 kB / 439.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.897e-05/0.3296, allocations: 20.59 kB / 439.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.3297, allocations: 17.05 kB / 439.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009966/0.3307, allocations: 0.5735 MB / 440.4 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002665/0.3333, allocations: 1.947 MB / 442.3 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.335, allocations: 2.143 MB / 444.5 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.3354, allocations: 187.2 kB / 444.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.3355, allocations: 174.2 kB / 444.8 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.3355, allocations: 38.7 kB / 444.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.204e-06/0.3355, allocations: 0 / 444.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001924/0.3374, allocations: 0.7931 MB / 445.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.3374, allocations: 56.97 kB / 445.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.3376, allocations: 183.9 kB / 445.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.3376, allocations: 35.23 kB / 445.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.068e-05/0.3377, allocations: 227.5 kB / 446.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.703e-05/0.3378, allocations: 169.1 kB / 446.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.3379, allocations: 89.45 kB / 446.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.935e-05/0.338, allocations: 339.7 kB / 446.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.3383, allocations: 149.6 kB / 446.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.3386, allocations: 231.2 kB / 447.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006036/0.3392, allocations: 399.1 kB / 447.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.3392, allocations: 1.031 kB / 447.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009711/0.3402, allocations: 0.5424 MB / 448 MB, free: 408 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3402, allocations: 5 kB / 448 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.3402, allocations: 2.312 kB / 448 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003501/0.3406, allocations: 86.08 kB / 448.1 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.341, allocations: 99.75 kB / 448.2 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.3432, allocations: 2.038 MB / 450.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.3435, allocations: 46.97 kB / 450.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.3435, allocations: 19.28 kB / 450.3 MB, free: 14.53 MB / 366.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.0002492/0.3438, allocations: 174.3 kB / 450.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-05/0.3439, allocations: 27.5 kB / 450.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.345, allocations: 0.5355 MB / 451.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.345, allocations: 6.438 kB / 451.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.345, allocations: 1.5 kB / 451.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.345, allocations: 3.922 kB / 451.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/0.3468, allocations: 1.135 MB / 452.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3468, allocations: 0 / 452.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000314/0.3471, allocations: 78.77 kB / 452.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002678/0.3474, allocations: 87.22 kB / 452.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.3474, allocations: 8.781 kB / 452.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/0.3495, allocations: 2.052 MB / 454.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3495, allocations: 0 / 454.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.3509, allocations: 0.7962 MB / 455.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.825e-05/0.351, allocations: 108.6 kB / 455.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.3511, allocations: 10.59 kB / 455.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.3513, allocations: 14.5 kB / 455.4 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.3514, allocations: 33.42 kB / 455.4 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.3514, allocations: 15.67 kB / 455.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001392/0.3516, allocations: 138.6 kB / 455.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3516, allocations: 0 / 455.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000649/0.3522, allocations: 153 kB / 455.7 MB, free: 10.91 MB / 366.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.0002548/0.3525, allocations: 142 kB / 455.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.3535, allocations: 0.5349 MB / 456.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3535, allocations: 0 / 456.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005914/0.3541, allocations: 362.2 kB / 456.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.3545, allocations: 35.34 kB / 456.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.3559, allocations: 0.837 MB / 457.6 MB, free: 9.824 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005313/0.3565, allocations: 0.8087 MB / 458.4 MB, free: 9.117 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.3566, allocations: 40.86 kB / 458.4 MB, free: 9.105 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3566, allocations: 4 kB / 458.4 MB, free: 9.102 MB / 366.1 MB Notification: Performance of Templates: time 0.01042/0.367, allocations: 6.523 MB / 465 MB, free: 6.602 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.314432485029101]