Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.001607/0.001607, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002059/0.002059, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.582/1.582, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.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.1.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.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00168/0.00168, allocations: 59.91 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2276, allocations: 53.36 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004104/0.2317, allocations: 2.707 MB / 435.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.233, allocations: 0.6816 MB / 435.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.2332, allocations: 11.94 kB / 435.7 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.2334, allocations: 63.36 kB / 435.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.2336, allocations: 91.19 kB / 435.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.2338, allocations: 87.83 kB / 436 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003944/0.2342, allocations: 374.5 kB / 436.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.2344, allocations: 101.8 kB / 436.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003436/0.2348, allocations: 151.5 kB / 436.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.235, allocations: 135.3 kB / 436.7 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.219e-05/0.235, allocations: 39.94 kB / 436.8 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.986e-05/0.2351, allocations: 32 kB / 436.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.888e-05/0.2352, allocations: 75.69 kB / 436.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.2353, allocations: 139.4 kB / 437 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004205/0.2357, allocations: 377.5 kB / 437.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2357, allocations: 0 / 437.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2357, allocations: 0 / 437.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.2357, allocations: 0 / 437.4 MB, free: 1.645 MB / 334.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.0009428/0.2367, allocations: 0.5404 MB / 437.9 MB, free: 1.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.2367, allocations: 8.031 kB / 437.9 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.867e-05/0.2368, allocations: 44.69 kB / 438 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.2371, allocations: 206.7 kB / 438.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.2372, allocations: 21.03 kB / 438.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.497e-05/0.2372, allocations: 32.38 kB / 438.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005553/0.2378, allocations: 333.8 kB / 438.5 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.2378, allocations: 7.938 kB / 438.6 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.2378, allocations: 15.94 kB / 438.6 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.2378, allocations: 8 kB / 438.6 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004491/0.2383, allocations: 202.5 kB / 438.8 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.2397, allocations: 0.8087 MB / 439.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.24, allocations: 154.6 kB / 439.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.2402, allocations: 68.83 kB / 439.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.2402, allocations: 11.92 kB / 439.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.2403, allocations: 34.56 kB / 439.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 2.054e-06/0.2403, allocations: 0 / 439.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.000565/0.2408, allocations: 205.7 kB / 440 MB, free: 14.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.2409, allocations: 55.41 kB / 440.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.2411, allocations: 188.1 kB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.2411, allocations: 37.64 kB / 440.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.2412, allocations: 204.2 kB / 440.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/0.2413, allocations: 67.42 kB / 440.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-05/0.2414, allocations: 49.7 kB / 440.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2415, allocations: 326.8 kB / 441 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.2417, allocations: 63.95 kB / 441 MB, free: 13.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.2419, allocations: 114 kB / 441.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.2422, allocations: 185.8 kB / 441.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2422, allocations: 3.938 kB / 441.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004642/0.2427, allocations: 249.2 kB / 441.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.2427, allocations: 10.44 kB / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2427, allocations: 4 kB / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.2427, allocations: 0 / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.243, allocations: 68.03 kB / 441.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.243, allocations: 7.984 kB / 441.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.2431, allocations: 15.89 kB / 441.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.2432, allocations: 12 kB / 441.7 MB, free: 13.09 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 0.0001349/0.2433, allocations: 141.7 kB / 441.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.906e-05/0.2433, allocations: 23.83 kB / 441.8 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004126/0.2438, allocations: 183.4 kB / 442 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.2438, allocations: 7.938 kB / 442 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2438, allocations: 4 kB / 442 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2438, allocations: 3.984 kB / 442 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.244, allocations: 209.2 kB / 442.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.244, allocations: 0 / 442.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.2443, allocations: 55.95 kB / 442.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.2443, allocations: 3.938 kB / 442.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.2444, allocations: 4 kB / 442.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2444, allocations: 0 / 442.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2444, allocations: 0 / 442.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005825/0.2449, allocations: 354 kB / 442.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.894e-05/0.245, allocations: 27.77 kB / 442.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.245, allocations: 8.062 kB / 442.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.2452, allocations: 11.98 kB / 442.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.2452, allocations: 15.97 kB / 442.7 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.2452, allocations: 4 kB / 442.7 MB, free: 12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.2454, allocations: 143.4 kB / 442.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2454, allocations: 0 / 442.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003305/0.2457, allocations: 79.78 kB / 442.9 MB, free: 11.78 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.0001246/0.2458, allocations: 103.2 kB / 443 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003942/0.2462, allocations: 155.8 kB / 443.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2462, allocations: 0 / 443.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.2464, allocations: 80.08 kB / 443.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.2467, allocations: 28.11 kB / 443.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.2481, allocations: 0.8522 MB / 444.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.2482, allocations: 159.4 kB / 444.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/0.2483, allocations: 23.44 kB / 444.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2483, allocations: 0 / 444.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of Templates: time 0.005019/0.2533, allocations: 2.946 MB / 447.3 MB, free: 7.391 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.160813135094941]