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.001292/0.001292, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001252/0.001252, allocations: 166.3 kB / 24.82 MB, free: 9.312 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 1.001/1.001, allocations: 177 MB / 205.1 MB, free: 5.484 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.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 1.273e-06/1.273e-06, allocations: 0 / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.581e-05, allocations: 2.312 kB / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.006401/0.006427, allocations: 2.865 MB / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004033/0.01046, allocations: 0.6931 MB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.01062, allocations: 15.94 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.0108, allocations: 55.44 kB / 277 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.01096, allocations: 95.12 kB / 277.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.01118, allocations: 87.81 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.0115, allocations: 386.2 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.01169, allocations: 109.8 kB / 277.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003236/0.01201, allocations: 235.5 kB / 277.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.01215, allocations: 115.6 kB / 278 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.01219, allocations: 32 kB / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.189e-05/0.01224, allocations: 35.94 kB / 278 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.359e-05/0.01229, allocations: 79.72 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.396e-05/0.01238, allocations: 111.8 kB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.01265, allocations: 243.1 kB / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.01265, allocations: 0 / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.01265, allocations: 4 kB / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.01266, allocations: 4 kB / 278.5 MB, free: 12.05 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.003653/0.01631, allocations: 0.6363 MB / 279.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.01635, allocations: 11.98 kB / 279.1 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.664e-05/0.01642, allocations: 64.7 kB / 279.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.01664, allocations: 204.1 kB / 279.4 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.01666, allocations: 29.03 kB / 279.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/0.01671, allocations: 36.31 kB / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.017, allocations: 258.7 kB / 279.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.01702, allocations: 4.172 kB / 279.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.01703, allocations: 12.38 kB / 279.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.01704, allocations: 11.94 kB / 279.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.31e-05/0.01713, allocations: 84.52 kB / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000737/0.01787, allocations: 0.8172 MB / 280.6 MB, free: 9.762 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.01799, allocations: 107.1 kB / 280.7 MB, free: 9.645 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.46e-05/0.01804, allocations: 50.3 kB / 280.8 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.01805, allocations: 0 / 280.8 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.01807, allocations: 37.39 kB / 280.8 MB, free: 9.547 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 7.72e-07/0.01807, allocations: 4 kB / 280.8 MB, free: 9.543 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001753/0.01824, allocations: 137.7 kB / 281 MB, free: 9.402 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/0.01826, allocations: 55.41 kB / 281 MB, free: 9.336 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.01837, allocations: 246.9 kB / 281.2 MB, free: 9.078 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.01839, allocations: 25.7 kB / 281.3 MB, free: 9.047 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.143e-05/0.01848, allocations: 247 kB / 281.5 MB, free: 8.801 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.01851, allocations: 71.41 kB / 281.6 MB, free: 8.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.01856, allocations: 47.34 kB / 281.6 MB, free: 8.676 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.01867, allocations: 0.504 MB / 282.1 MB, free: 8.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.873e-05/0.0187, allocations: 23.97 kB / 282.2 MB, free: 8.137 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.137e-05/0.01876, allocations: 97.77 kB / 282.3 MB, free: 8.012 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.914e-05/0.01886, allocations: 133.5 kB / 282.4 MB, free: 7.852 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.01886, allocations: 0 / 282.4 MB, free: 7.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001511/0.01901, allocations: 169.3 kB / 282.5 MB, free: 7.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.01902, allocations: 8 kB / 282.6 MB, free: 7.672 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.01902, allocations: 128 / 282.6 MB, free: 7.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.01903, allocations: 11.94 kB / 282.6 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.01917, allocations: 59.91 kB / 282.6 MB, free: 7.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.01917, allocations: 4 kB / 282.6 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.569e-05/0.01923, allocations: 19.89 kB / 282.7 MB, free: 7.578 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.01924, allocations: 4 kB / 282.7 MB, free: 7.574 MB / 266.7 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 7.583e-05/0.01931, allocations: 172.5 kB / 282.8 MB, free: 7.395 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.01934, allocations: 23.86 kB / 282.8 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.01947, allocations: 138.4 kB / 283 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.01947, allocations: 7.984 kB / 283 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.01947, allocations: 11.98 kB / 283 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.01947, allocations: 0 / 283 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.01963, allocations: 177.1 kB / 283.2 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01963, allocations: 0 / 283.2 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.01974, allocations: 43.98 kB / 283.2 MB, free: 6.973 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.01975, allocations: 3.984 kB / 283.2 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.01975, allocations: 4 kB / 283.2 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.01976, allocations: 3.938 kB / 283.2 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.01976, allocations: 4 kB / 283.2 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.01995, allocations: 315.5 kB / 283.5 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.01997, allocations: 31.8 kB / 283.6 MB, free: 6.598 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.01999, allocations: 0 / 283.6 MB, free: 6.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-05/0.02006, allocations: 15.98 kB / 283.6 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.02008, allocations: 7.984 kB / 283.6 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.02009, allocations: 11.94 kB / 283.6 MB, free: 6.562 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.75e-05/0.02015, allocations: 163.1 kB / 283.8 MB, free: 6.402 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02015, allocations: 0 / 283.8 MB, free: 6.402 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001867/0.02034, allocations: 75.78 kB / 283.8 MB, free: 6.328 MB / 266.7 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 7.885e-05/0.02041, allocations: 107.2 kB / 283.9 MB, free: 6.215 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001125/0.02053, allocations: 107.4 kB / 284 MB, free: 6.105 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.32e-07/0.02053, allocations: 0 / 284 MB, free: 6.105 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.319e-05/0.02057, allocations: 54.86 kB / 284.1 MB, free: 6.051 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.02075, allocations: 23.98 kB / 284.1 MB, free: 6.027 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008481/0.0216, allocations: 0.689 MB / 284.8 MB, free: 5.309 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.736e-05/0.02164, allocations: 88.2 kB / 284.9 MB, free: 5.199 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.935e-05/0.02169, allocations: 21.61 kB / 284.9 MB, free: 5.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.831e-05/0.02178, allocations: 106.2 kB / 285 MB, free: 5.074 MB / 266.7 MB Notification: Performance of SimCode: time 3.7e-07/0.02178, allocations: 0 / 285 MB, free: 5.074 MB / 266.7 MB Notification: Performance of Templates: time 0.003614/0.0254, allocations: 1.927 MB / 287 MB, free: 3.18 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/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.783483517821878]