Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007631/0.0007631, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001109/0.001873, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00155/0.002612, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8971/0.8971, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1667/1.064, allocations: 52.48 MB / 238.5 MB, free: 7.621 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 239.8 MB, free: 6.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.562e-05, allocations: 3.531 kB / 239.8 MB, free: 6.336 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.003026/0.003051, allocations: 2.894 MB / 242.7 MB, free: 3.441 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.004236, allocations: 0.6981 MB / 243.4 MB, free: 2.742 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.004384, allocations: 4 kB / 243.4 MB, free: 2.738 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.004516, allocations: 71.34 kB / 243.4 MB, free: 2.668 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.004668, allocations: 84.58 kB / 243.5 MB, free: 2.586 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.004892, allocations: 92.67 kB / 243.6 MB, free: 2.496 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003287/0.005221, allocations: 391.3 kB / 244 MB, free: 2.113 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.005402, allocations: 112.4 kB / 244.1 MB, free: 2 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003026/0.005704, allocations: 247.3 kB / 244.3 MB, free: 1.758 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.005901, allocations: 110.8 kB / 244.4 MB, free: 1.652 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.145e-05/0.005942, allocations: 32 kB / 244.5 MB, free: 1.621 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.712e-05/0.005979, allocations: 32 kB / 244.5 MB, free: 1.59 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.234e-05/0.006021, allocations: 55.81 kB / 244.6 MB, free: 1.535 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.653e-05/0.006098, allocations: 95.81 kB / 244.7 MB, free: 1.441 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.006339, allocations: 235.1 kB / 244.9 MB, free: 1.211 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-05/0.006352, allocations: 0 / 244.9 MB, free: 1.211 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006353, allocations: 1.312 kB / 244.9 MB, free: 1.211 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.006367, allocations: 4 kB / 244.9 MB, free: 1.207 MB / 234.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.0006211/0.006988, allocations: 0.5855 MB / 245.5 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.007019, allocations: 12.03 kB / 245.5 MB, free: 0.5898 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.947e-05/0.007088, allocations: 52.83 kB / 245.5 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.00731, allocations: 177.8 kB / 245.7 MB, free: 348 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.00733, allocations: 29.03 kB / 245.7 MB, free: 320 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.00737, allocations: 32.38 kB / 245.8 MB, free: 288 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.007625, allocations: 254.7 kB / 246 MB, free: 16 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.007635, allocations: 1.156 kB / 246 MB, free: 16 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.314e-05/0.007668, allocations: 20.41 kB / 246 MB, free: 15.99 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.007677, allocations: 7.938 kB / 246 MB, free: 15.98 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.366e-05/0.007771, allocations: 73.41 kB / 246.1 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009317/0.008702, allocations: 0.6822 MB / 246.8 MB, free: 15.2 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.008835, allocations: 102.4 kB / 246.9 MB, free: 15.09 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.543e-05/0.00887, allocations: 28.84 kB / 246.9 MB, free: 15.06 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.008887, allocations: 4 kB / 246.9 MB, free: 15.05 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.008911, allocations: 34.56 kB / 247 MB, free: 15.01 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.423e-06/0.008912, allocations: 5.469 kB / 247 MB, free: 15.01 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002057/0.009118, allocations: 105.6 kB / 247.1 MB, free: 14.9 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.00915, allocations: 59.66 kB / 247.1 MB, free: 14.83 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.00927, allocations: 179.2 kB / 247.3 MB, free: 14.64 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.009285, allocations: 29.7 kB / 247.3 MB, free: 14.61 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/0.009363, allocations: 188.9 kB / 247.5 MB, free: 14.42 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.009401, allocations: 75.36 kB / 247.6 MB, free: 14.34 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-05/0.009447, allocations: 42.25 kB / 247.6 MB, free: 14.3 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.775e-05/0.009524, allocations: 340.4 kB / 248 MB, free: 13.96 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.742e-05/0.009552, allocations: 16 kB / 248 MB, free: 13.94 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.409e-05/0.009606, allocations: 77.89 kB / 248.1 MB, free: 13.84 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.009708, allocations: 119.1 kB / 248.2 MB, free: 13.71 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.00971, allocations: 0 / 248.2 MB, free: 13.71 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001424/0.009853, allocations: 135.1 kB / 248.3 MB, free: 13.57 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.009867, allocations: 10.03 kB / 248.3 MB, free: 13.56 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.009872, allocations: 4.125 kB / 248.3 MB, free: 13.56 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.009886, allocations: 4 kB / 248.3 MB, free: 13.55 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.01013, allocations: 75.83 kB / 248.4 MB, free: 13.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.01013, allocations: 4 kB / 248.4 MB, free: 13.48 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.017e-05/0.01019, allocations: 23.88 kB / 248.4 MB, free: 13.45 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.0102, allocations: 8 kB / 248.4 MB, free: 13.45 MB / 250.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.486e-05/0.01028, allocations: 121.7 kB / 248.6 MB, free: 13.32 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.0103, allocations: 19.98 kB / 248.6 MB, free: 13.3 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.01044, allocations: 119.3 kB / 248.7 MB, free: 13.17 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.01045, allocations: 4 kB / 248.7 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.01045, allocations: 0 / 248.7 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01045, allocations: 4.031 kB / 248.7 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.01063, allocations: 153.7 kB / 248.9 MB, free: 12.99 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.01063, allocations: 0 / 248.9 MB, free: 12.99 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.01081, allocations: 62.02 kB / 248.9 MB, free: 12.93 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.01083, allocations: 19.78 kB / 248.9 MB, free: 12.91 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01083, allocations: 0 / 248.9 MB, free: 12.91 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.01084, allocations: 8 kB / 248.9 MB, free: 12.91 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.01084, allocations: 7.938 kB / 248.9 MB, free: 12.9 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.01084, allocations: 0 / 248.9 MB, free: 12.9 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.01104, allocations: 230.7 kB / 249.2 MB, free: 12.66 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.01106, allocations: 16 kB / 249.2 MB, free: 12.64 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.296e-05/0.01114, allocations: 8 kB / 249.2 MB, free: 12.64 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.01117, allocations: 19.92 kB / 249.2 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.01118, allocations: 0 / 249.2 MB, free: 12.62 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.314e-05/0.01122, allocations: 59.03 kB / 249.3 MB, free: 12.56 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01122, allocations: 0 / 249.3 MB, free: 12.56 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001856/0.01141, allocations: 79.78 kB / 249.3 MB, free: 12.48 MB / 250.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 9.545e-05/0.0115, allocations: 88.34 kB / 249.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.01164, allocations: 88.7 kB / 249.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/0.01165, allocations: 4 kB / 249.5 MB, free: 12.29 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.959e-05/0.01171, allocations: 68.64 kB / 249.6 MB, free: 12.22 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005505/0.01226, allocations: 348.1 kB / 249.9 MB, free: 11.81 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.01454, allocations: 0.626 MB / 250.6 MB, free: 11.16 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.838e-05/0.01459, allocations: 92.19 kB / 250.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.453e-05/0.01466, allocations: 17.95 kB / 250.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.01477, allocations: 91.3 kB / 250.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01477, allocations: 4 kB / 250.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of Templates: time 0.00458/0.01935, allocations: 2.132 MB / 252.9 MB, free: 8.855 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.481503166258335]