Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001294/0.001294, allocations: 85.91 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001412/0.001412, allocations: 159 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9878/0.9878, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 274.1 MB, free: 4.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.973e-05, allocations: 2.312 kB / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.004034/0.004054, allocations: 3.604 MB / 277.7 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.006195, allocations: 1.431 MB / 279.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.006353, allocations: 12 kB / 279.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.007391, allocations: 0.7705 MB / 279.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006201/0.008011, allocations: 385.8 kB / 280.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005756/0.008587, allocations: 0.5137 MB / 280.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003859/0.008973, allocations: 477.7 kB / 281.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004483/0.009421, allocations: 358 kB / 281.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.009731, allocations: 307.2 kB / 281.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.009938, allocations: 203.5 kB / 282.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.541e-05/0.009984, allocations: 40 kB / 282.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002722/0.01026, allocations: 199.7 kB / 282.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.146e-05/0.01032, allocations: 111.6 kB / 282.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.01043, allocations: 163.6 kB / 282.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004873/0.01091, allocations: 0.5059 MB / 283.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.01092, allocations: 0 / 283.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.01092, allocations: 0 / 283.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.01092, allocations: 0 / 283.1 MB, free: 11.24 MB / 266.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.001228/0.01215, allocations: 0.9522 MB / 284.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.01218, allocations: 12.03 kB / 284.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/0.01396, allocations: 0.582 MB / 284.7 MB, free: 9.656 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.01421, allocations: 251.1 kB / 284.9 MB, free: 9.387 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.01424, allocations: 49.69 kB / 285 MB, free: 9.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/0.0143, allocations: 48.38 kB / 285 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.01468, allocations: 381.3 kB / 285.4 MB, free: 8.906 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.0147, allocations: 4.172 kB / 285.4 MB, free: 8.902 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.01473, allocations: 28.12 kB / 285.4 MB, free: 8.875 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.01474, allocations: 12 kB / 285.4 MB, free: 8.863 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.01504, allocations: 270.2 kB / 285.7 MB, free: 8.602 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/0.01658, allocations: 1.462 MB / 287.2 MB, free: 7.066 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007777/0.01736, allocations: 0.5596 MB / 287.7 MB, free: 6.504 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.01746, allocations: 105.1 kB / 287.8 MB, free: 6.395 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.43e-05/0.01752, allocations: 32.47 kB / 287.9 MB, free: 6.363 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.01754, allocations: 45.83 kB / 287.9 MB, free: 6.309 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 2.264e-06/0.01755, allocations: 0 / 287.9 MB, free: 6.309 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0008301/0.01838, allocations: 0.4924 MB / 288.4 MB, free: 5.805 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.0184, allocations: 59.91 kB / 288.5 MB, free: 5.734 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.0185, allocations: 227.5 kB / 288.7 MB, free: 5.496 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.01853, allocations: 33.7 kB / 288.7 MB, free: 5.457 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.01863, allocations: 275.7 kB / 289 MB, free: 5.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.352e-05/0.01872, allocations: 170.6 kB / 289.2 MB, free: 5.012 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-05/0.01881, allocations: 91.77 kB / 289.2 MB, free: 4.914 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.01893, allocations: 0.5079 MB / 289.8 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.79e-05/0.01901, allocations: 68.94 kB / 289.8 MB, free: 4.328 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.01915, allocations: 170.8 kB / 290 MB, free: 4.129 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.01937, allocations: 271.3 kB / 290.3 MB, free: 3.832 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01937, allocations: 0 / 290.3 MB, free: 3.832 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004454/0.01982, allocations: 396.8 kB / 290.6 MB, free: 3.434 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.01983, allocations: 4 kB / 290.6 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.01984, allocations: 4 kB / 290.6 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002344/0.02007, allocations: 95.7 kB / 290.7 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.02025, allocations: 87.89 kB / 290.8 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.02162, allocations: 2.287 MB / 293.1 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.02174, allocations: 35.67 kB / 293.1 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.02176, allocations: 19.98 kB / 293.2 MB, free: 0.793 MB / 266.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 0.0001044/0.02186, allocations: 176.5 kB / 293.3 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.994e-05/0.02191, allocations: 39.86 kB / 293.4 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004475/0.02236, allocations: 396 kB / 293.8 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.02236, allocations: 7.938 kB / 293.8 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.02236, allocations: 0 / 293.8 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.02237, allocations: 4 kB / 293.8 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007283/0.0231, allocations: 0.8069 MB / 294.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.0231, allocations: 0 / 294.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.02326, allocations: 67.91 kB / 294.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001873/0.02344, allocations: 99.78 kB / 294.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.02346, allocations: 8 kB / 294.8 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/0.02486, allocations: 2.287 MB / 297 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.02486, allocations: 0 / 297 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005198/0.02538, allocations: 0.568 MB / 297.6 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.129e-05/0.0254, allocations: 39.67 kB / 297.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.02542, allocations: 8 kB / 297.7 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.02553, allocations: 19.98 kB / 297.7 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.02558, allocations: 36.38 kB / 297.7 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.0256, allocations: 15.98 kB / 297.7 MB, free: 12.04 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.641e-05/0.02565, allocations: 156.7 kB / 297.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02565, allocations: 0 / 297.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003548/0.02601, allocations: 151.6 kB / 298 MB, free: 11.73 MB / 282.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.0001776/0.02618, allocations: 143.1 kB / 298.2 MB, free: 11.58 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004491/0.02663, allocations: 475.7 kB / 298.6 MB, free: 11.1 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02664, allocations: 0 / 298.6 MB, free: 11.1 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002498/0.02689, allocations: 365.5 kB / 299 MB, free: 10.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.02711, allocations: 39.31 kB / 299 MB, free: 10.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.02811, allocations: 0.7061 MB / 299.7 MB, free: 9.941 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.969e-05/0.02817, allocations: 110.2 kB / 299.8 MB, free: 9.812 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.02827, allocations: 46.95 kB / 299.9 MB, free: 9.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.0284, allocations: 118.2 kB / 300 MB, free: 9.652 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0284, allocations: 0 / 300 MB, free: 9.652 MB / 282.7 MB Notification: Performance of Templates: time 0.007211/0.03561, allocations: 4.904 MB / 304.9 MB, free: 4.801 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.650963507127017]