Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001989/0.001989, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002515/0.002515, allocations: 214.4 kB / 23.73 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.545/1.545, allocations: 230.6 MB / 257.5 MB, free: 7.812 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 55.92 kB / 378.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2971, allocations: 53.37 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.006932/0.304, allocations: 4.772 MB / 436.4 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003187/0.3072, allocations: 1.477 MB / 437.9 MB, free: 452 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004864/0.3077, allocations: 35.69 kB / 437.9 MB, free: 416 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005513/0.3082, allocations: 221.8 kB / 438.1 MB, free: 192 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005964/0.3088, allocations: 202.1 kB / 438.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009049/0.3097, allocations: 415.3 kB / 438.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001319/0.3111, allocations: 1.118 MB / 439.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006043/0.3117, allocations: 320.5 kB / 440.1 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006031/0.3123, allocations: 418.3 kB / 440.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004939/0.3128, allocations: 381.5 kB / 440.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.3129, allocations: 80 kB / 441 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002173/0.3131, allocations: 104 kB / 441.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.3133, allocations: 215.1 kB / 441.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003884/0.3137, allocations: 401.7 kB / 441.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.315, allocations: 1.196 MB / 442.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.315, allocations: 0 / 442.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.315, allocations: 0 / 442.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.315, allocations: 7.938 kB / 442.9 MB, free: 11.35 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.001916/0.3169, allocations: 1.267 MB / 444.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.3169, allocations: 12.03 kB / 444.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003704/0.3173, allocations: 155.1 kB / 444.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.3185, allocations: 0.5743 MB / 444.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.949e-05/0.3185, allocations: 77.94 kB / 445 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.3187, allocations: 104 kB / 445.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.3205, allocations: 1.078 MB / 446.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.753e-05/0.3205, allocations: 11.89 kB / 446.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.074e-05/0.3206, allocations: 44 kB / 446.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/0.3206, allocations: 24 kB / 446.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.3218, allocations: 0.5655 MB / 446.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005197/0.327, allocations: 5.121 MB / 451.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005957/0.3276, allocations: 221 kB / 452.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.3279, allocations: 145.7 kB / 452.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.328, allocations: 11.98 kB / 452.3 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.3281, allocations: 42.44 kB / 452.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.545e-06/0.3281, allocations: 4 kB / 452.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004029/0.3321, allocations: 1.587 MB / 453.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.009e-05/0.3322, allocations: 81.11 kB / 454 MB, free: 15.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008032/0.333, allocations: 0.6564 MB / 454.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.333, allocations: 33.7 kB / 454.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000472/0.3335, allocations: 0.6201 MB / 455.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.3336, allocations: 150.8 kB / 455.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.3338, allocations: 138.5 kB / 455.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.334, allocations: 386.7 kB / 456 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.3343, allocations: 153.9 kB / 456.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000612/0.3349, allocations: 0.4931 MB / 456.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009861/0.3359, allocations: 0.6908 MB / 457.3 MB, free: 11.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.3359, allocations: 4 kB / 457.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001251/0.3372, allocations: 0.7161 MB / 458 MB, free: 11.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.3372, allocations: 16 kB / 458.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.3372, allocations: 12 kB / 458.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.422e-05/0.3373, allocations: 16 kB / 458.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006724/0.3379, allocations: 195.6 kB / 458.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.79e-05/0.338, allocations: 23.88 kB / 458.3 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.3383, allocations: 35.98 kB / 458.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.516e-05/0.3384, allocations: 40 kB / 458.4 MB, free: 10.93 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.0003482/0.3387, allocations: 229.5 kB / 458.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.3389, allocations: 79.48 kB / 458.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.339, allocations: 78.58 kB / 458.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.339, allocations: 7.938 kB / 458.8 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.339, allocations: 7.938 kB / 458.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.339, allocations: 3.984 kB / 458.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/0.3411, allocations: 1.136 MB / 459.9 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3411, allocations: 0 / 459.9 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004683/0.3416, allocations: 103.9 kB / 460 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.3416, allocations: 4 kB / 460 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.3416, allocations: 12 kB / 460 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.3416, allocations: 12.09 kB / 460 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3416, allocations: 3.938 kB / 460 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.3428, allocations: 0.6975 MB / 460.7 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.3429, allocations: 67.52 kB / 460.8 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.208e-05/0.343, allocations: 15.94 kB / 460.8 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.3432, allocations: 27.98 kB / 460.8 MB, free: 8.359 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/0.3433, allocations: 31.88 kB / 460.9 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.3434, allocations: 15.94 kB / 460.9 MB, free: 8.312 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005862/0.3439, allocations: 427 kB / 461.3 MB, free: 7.902 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3439, allocations: 0 / 461.3 MB, free: 7.902 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007252/0.3447, allocations: 136 kB / 461.4 MB, free: 7.77 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.00015/0.3448, allocations: 107.1 kB / 461.5 MB, free: 7.656 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008586/0.3457, allocations: 418.2 kB / 461.9 MB, free: 7.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3457, allocations: 0 / 461.9 MB, free: 7.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.346, allocations: 147.7 kB / 462.1 MB, free: 7.105 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005688/0.3465, allocations: 71.25 kB / 462.2 MB, free: 7.031 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003379/0.3499, allocations: 1.689 MB / 463.9 MB, free: 5.289 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005227/0.3504, allocations: 421.3 kB / 464.3 MB, free: 4.848 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002863/0.3507, allocations: 94 kB / 464.4 MB, free: 4.754 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.3509, allocations: 67.41 kB / 464.4 MB, free: 4.688 MB / 366.1 MB Notification: Performance of SimCode: time 1.213e-06/0.3509, allocations: 4 kB / 464.4 MB, free: 4.684 MB / 366.1 MB Notification: Performance of Templates: time 0.01351/0.3644, allocations: 5.693 MB / 470.1 MB, free: 15.08 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.987863974645734]