Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.001301/0.001301, allocations: 117.9 kB / 21.18 MB, free: 0.6289 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.001391/0.001391, allocations: 202.8 kB / 24.46 MB, free: 3.902 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.417/1.417, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [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.001869/0.001869, allocations: 75.81 kB / 378.8 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2889, allocations: 53.32 MB / 432.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007277/0.2961, allocations: 5.432 MB / 437.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003009/0.2991, allocations: 1.531 MB / 439 MB, free: 376 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003846/0.2995, allocations: 31.81 kB / 439.1 MB, free: 344 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004778/0.3, allocations: 213.8 kB / 439.3 MB, free: 128 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005127/0.3005, allocations: 198.1 kB / 439.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007617/0.3013, allocations: 423.2 kB / 439.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001153/0.3024, allocations: 1.13 MB / 441 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005355/0.303, allocations: 344.3 kB / 441.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004777/0.3035, allocations: 394.3 kB / 441.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004772/0.3039, allocations: 433.5 kB / 442.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.304, allocations: 84 kB / 442.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.3042, allocations: 108 kB / 442.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.3044, allocations: 215.1 kB / 442.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004109/0.3048, allocations: 0.4932 MB / 443.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.306, allocations: 1.191 MB / 444.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.306, allocations: 0 / 444.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.306, allocations: 0 / 444.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.306, allocations: 4 kB / 444.3 MB, free: 11.11 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001898/0.3079, allocations: 1.343 MB / 445.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.308, allocations: 12.03 kB / 445.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003546/0.3083, allocations: 151.1 kB / 445.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.3094, allocations: 0.6621 MB / 446.4 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.115e-05/0.3094, allocations: 77.94 kB / 446.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.3096, allocations: 100 kB / 446.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.3112, allocations: 1.031 MB / 447.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/0.3112, allocations: 11.94 kB / 447.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.377e-05/0.3113, allocations: 44 kB / 447.7 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.3113, allocations: 24 kB / 447.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.3124, allocations: 0.5539 MB / 448.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005225/0.3176, allocations: 5.506 MB / 453.8 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005625/0.3182, allocations: 225 kB / 454 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003131/0.3185, allocations: 145.6 kB / 454.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.3186, allocations: 93.08 kB / 454.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.3187, allocations: 34.56 kB / 454.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.824e-06/0.3187, allocations: 0 / 454.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.003931/0.3226, allocations: 1.749 MB / 456 MB, free: 14.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.3227, allocations: 85.05 kB / 456.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007378/0.3234, allocations: 0.6451 MB / 456.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.3234, allocations: 29.7 kB / 456.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004555/0.3239, allocations: 0.6123 MB / 457.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.324, allocations: 154.7 kB / 457.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.3242, allocations: 146.5 kB / 457.7 MB, free: 13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.3244, allocations: 382.8 kB / 458 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/0.3247, allocations: 153.9 kB / 458.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005907/0.3253, allocations: 0.4893 MB / 458.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000973/0.3263, allocations: 0.6936 MB / 459.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.3263, allocations: 8 kB / 459.4 MB, free: 10.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001183/0.3275, allocations: 0.7182 MB / 460.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3275, allocations: 8 kB / 460.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.3275, allocations: 12 kB / 460.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.365e-05/0.3275, allocations: 16 kB / 460.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000628/0.3282, allocations: 200.2 kB / 460.3 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.927e-05/0.3282, allocations: 35.86 kB / 460.4 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.3285, allocations: 28 kB / 460.4 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/0.3286, allocations: 43.98 kB / 460.4 MB, free: 9.898 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002798/0.3289, allocations: 225.5 kB / 460.6 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.329, allocations: 79.48 kB / 460.7 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.3291, allocations: 78.58 kB / 460.8 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.3291, allocations: 8 kB / 460.8 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.3291, allocations: 3.938 kB / 460.8 MB, free: 9.492 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3291, allocations: 4 kB / 460.8 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.3311, allocations: 1.32 MB / 462.1 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3312, allocations: 3.938 kB / 462.1 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.3316, allocations: 99.86 kB / 462.2 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.3316, allocations: 4 kB / 462.2 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.3316, allocations: 19.92 kB / 462.3 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.309e-06/0.3317, allocations: 4 kB / 462.3 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3317, allocations: 4.156 kB / 462.3 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.3327, allocations: 0.7014 MB / 463 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.3329, allocations: 140.5 kB / 463.1 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.835e-05/0.3329, allocations: 16.03 kB / 463.1 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.3332, allocations: 23.98 kB / 463.1 MB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.51e-05/0.3333, allocations: 27.97 kB / 463.2 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.3333, allocations: 15.98 kB / 463.2 MB, free: 6.992 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004654/0.3338, allocations: 419 kB / 463.6 MB, free: 6.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3338, allocations: 11.88 kB / 463.6 MB, free: 6.578 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005783/0.3343, allocations: 136 kB / 463.7 MB, free: 6.445 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.v) * 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 (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001489/0.3345, allocations: 115.2 kB / 463.9 MB, free: 6.324 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007699/0.3353, allocations: 414.3 kB / 464.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3353, allocations: 0 / 464.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002758/0.3355, allocations: 147.7 kB / 464.4 MB, free: 5.777 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005151/0.3361, allocations: 75.39 kB / 464.5 MB, free: 5.703 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.3388, allocations: 1.751 MB / 466.2 MB, free: 3.898 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000641/0.3394, allocations: 1.004 MB / 467.2 MB, free: 2.863 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.3396, allocations: 63.42 kB / 467.3 MB, free: 2.801 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3396, allocations: 0 / 467.3 MB, free: 2.801 MB / 366.1 MB Notification: Performance of Templates: time 0.01347/0.353, allocations: 9.416 MB / 476.7 MB, free: 9.383 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.555015512742102]