Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.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.001688/0.001688, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.001343/0.001343, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 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 1.5/1.5, allocations: 230.2 MB / 255.1 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] 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.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 75.86 kB / 374.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1101, allocations: 53.31 MB / 427.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004461/0.1145, allocations: 2.921 MB / 430.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.1159, allocations: 0.7128 MB / 431.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.1161, allocations: 7.938 kB / 431.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.1163, allocations: 59.44 kB / 431.6 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002014/0.1165, allocations: 91.19 kB / 431.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.1168, allocations: 91.81 kB / 431.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004195/0.1172, allocations: 374.4 kB / 432.1 MB, free: 236 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002471/0.1175, allocations: 113.4 kB / 432.2 MB, free: 120 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2124/0.3298, allocations: 147.8 kB / 432.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/0.3301, allocations: 149.5 kB / 432.5 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.315e-05/0.3302, allocations: 33.41 kB / 432.5 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.392e-05/0.3303, allocations: 33.22 kB / 432.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.41e-05/0.3303, allocations: 69.55 kB / 432.6 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.3305, allocations: 175.1 kB / 432.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.3309, allocations: 378.5 kB / 433.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.3309, allocations: 0 / 433.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.3309, allocations: 0 / 433.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.475e-06/0.331, allocations: 2.812 kB / 433.2 MB, free: 8.113 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008523/0.3318, allocations: 0.6167 MB / 433.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.3318, allocations: 10.97 kB / 433.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.595e-05/0.3319, allocations: 39.72 kB / 433.8 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.3322, allocations: 266 kB / 434.1 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.3322, allocations: 23.5 kB / 434.1 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.473e-05/0.3323, allocations: 37.12 kB / 434.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004945/0.3328, allocations: 277.5 kB / 434.4 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.3328, allocations: 3.938 kB / 434.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.3328, allocations: 11.38 kB / 434.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3328, allocations: 7.625 kB / 434.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004378/0.3333, allocations: 204.6 kB / 434.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.3346, allocations: 0.9797 MB / 435.6 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.3349, allocations: 154.9 kB / 435.8 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.335, allocations: 79.03 kB / 435.9 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.3351, allocations: 1.375 kB / 435.9 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.3351, allocations: 42.41 kB / 435.9 MB, free: 6.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.613e-06/0.3351, allocations: 1.312 kB / 435.9 MB, free: 6.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005373/0.3356, allocations: 216.6 kB / 436.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.3357, allocations: 55.94 kB / 436.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.3358, allocations: 211 kB / 436.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.3358, allocations: 26.98 kB / 436.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.516e-05/0.3359, allocations: 191.8 kB / 436.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.336, allocations: 75.59 kB / 436.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/0.336, allocations: 42.09 kB / 436.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.567e-05/0.3361, allocations: 331 kB / 437 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.3362, allocations: 61.11 kB / 437.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.3364, allocations: 118.3 kB / 437.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.3367, allocations: 190.5 kB / 437.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3367, allocations: 0 / 437.4 MB, free: 5.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00043/0.3372, allocations: 251.3 kB / 437.6 MB, free: 5.902 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3372, allocations: 5.688 kB / 437.6 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3372, allocations: 2.438 kB / 437.6 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3372, allocations: 2.281 kB / 437.6 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.3375, allocations: 63.05 kB / 437.7 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.3375, allocations: 7.234 kB / 437.7 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.3376, allocations: 26.28 kB / 437.7 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.3376, allocations: 11.64 kB / 437.7 MB, free: 5.883 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (29): * Single equations (assignments): 29 * 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 9.472e-05/0.3377, allocations: 142.6 kB / 437.9 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.3378, allocations: 26.92 kB / 437.9 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003819/0.3382, allocations: 195.3 kB / 438.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.3382, allocations: 2.938 kB / 438.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3382, allocations: 1.125 kB / 438.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3382, allocations: 0.8438 kB / 438.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.3385, allocations: 324.1 kB / 438.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3385, allocations: 0.875 kB / 438.4 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.3388, allocations: 52.08 kB / 438.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3388, allocations: 1.031 kB / 438.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.3388, allocations: 7.031 kB / 438.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.3388, allocations: 1.094 kB / 438.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3388, allocations: 0.875 kB / 438.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005226/0.3393, allocations: 352.9 kB / 438.8 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.3393, allocations: 100.1 kB / 438.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.3394, allocations: 2.797 kB / 438.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.3395, allocations: 16.61 kB / 439 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.3396, allocations: 13.72 kB / 439 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.3396, allocations: 6.672 kB / 439 MB, free: 5.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.3397, allocations: 149.1 kB / 439.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3397, allocations: 1.25 kB / 439.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003437/0.3401, allocations: 73.47 kB / 439.2 MB, free: 5.148 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.phi,inductor2.i,capacitor2.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 (19): * Single equations (assignments): 19 * 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.0001043/0.3402, allocations: 106.2 kB / 439.3 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003865/0.3406, allocations: 153.8 kB / 439.4 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3406, allocations: 0 / 439.4 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.3407, allocations: 70.7 kB / 439.5 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.341, allocations: 35.92 kB / 439.5 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.3422, allocations: 0.864 MB / 440.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.3424, allocations: 0.7666 MB / 441.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.3425, allocations: 20.59 kB / 441.2 MB, free: 3.801 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3425, allocations: 0 / 441.2 MB, free: 3.801 MB / 350.1 MB Notification: Performance of Templates: time 0.005509/0.348, allocations: 2.926 MB / 444.1 MB, free: 3.547 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.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.22082989406772]