Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.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.001793/0.001793, allocations: 107 kB / 21.18 MB, free: 0.6445 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.002339/0.002339, allocations: 210.7 kB / 24.48 MB, free: 3.938 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.496/1.496, 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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 47.91 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.217, allocations: 53.38 MB / 432.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004195/0.2212, allocations: 2.703 MB / 435.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.2225, allocations: 0.6739 MB / 435.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.2227, allocations: 7.938 kB / 435.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.2229, allocations: 67.42 kB / 435.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.223, allocations: 83.2 kB / 435.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.2233, allocations: 95.81 kB / 436 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004101/0.2237, allocations: 378.8 kB / 436.3 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002512/0.224, allocations: 124.8 kB / 436.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.2242, allocations: 159.5 kB / 436.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.2244, allocations: 159.3 kB / 436.8 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.973e-05/0.2245, allocations: 32 kB / 436.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.512e-05/0.2245, allocations: 32 kB / 436.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.342e-05/0.2246, allocations: 79.75 kB / 436.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.2247, allocations: 135.4 kB / 437.1 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004277/0.2252, allocations: 394.1 kB / 437.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2252, allocations: 0 / 437.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2252, allocations: 0 / 437.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.2252, allocations: 0 / 437.4 MB, free: 1.59 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.00101/0.2262, allocations: 0.5559 MB / 438 MB, free: 1.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.2262, allocations: 8.031 kB / 438 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.116e-05/0.2263, allocations: 40.7 kB / 438 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.2267, allocations: 206.7 kB / 438.2 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.2267, allocations: 32.97 kB / 438.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.449e-05/0.2268, allocations: 36.36 kB / 438.3 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006063/0.2274, allocations: 333.8 kB / 438.6 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.2274, allocations: 0 / 438.6 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.2274, allocations: 12 kB / 438.6 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.2274, allocations: 4 kB / 438.7 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004772/0.2279, allocations: 214.5 kB / 438.9 MB, free: 100 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.2295, allocations: 0.8595 MB / 439.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.2298, allocations: 146.6 kB / 439.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/0.2301, allocations: 126.8 kB / 440 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.2301, allocations: 0 / 440 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.2302, allocations: 42.5 kB / 440 MB, free: 14.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.153e-06/0.2302, allocations: 0 / 440 MB, free: 14.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006218/0.2308, allocations: 221.8 kB / 440.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.2308, allocations: 55.36 kB / 440.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.231, allocations: 203.8 kB / 440.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.2311, allocations: 25.7 kB / 440.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.2312, allocations: 192.3 kB / 440.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.11e-05/0.2313, allocations: 79.31 kB / 440.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.2314, allocations: 49.98 kB / 440.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2315, allocations: 330.8 kB / 441.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.2317, allocations: 68.47 kB / 441.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.2319, allocations: 155.3 kB / 441.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.2323, allocations: 225.2 kB / 441.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2323, allocations: 4 kB / 441.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005253/0.2328, allocations: 273.1 kB / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.2329, allocations: 8 kB / 441.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.2329, allocations: 0 / 441.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.2329, allocations: 4 kB / 441.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.2332, allocations: 76.16 kB / 442 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.2332, allocations: 7.984 kB / 442 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.2334, allocations: 27.78 kB / 442 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.2334, allocations: 12 kB / 442 MB, free: 12.74 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001437/0.2336, allocations: 149.7 kB / 442.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.2336, allocations: 19.84 kB / 442.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004365/0.234, allocations: 195.3 kB / 442.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.234, allocations: 8 kB / 442.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.234, allocations: 3.938 kB / 442.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2341, allocations: 0 / 442.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007764/0.2348, allocations: 0.5027 MB / 442.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2348, allocations: 4 kB / 442.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003126/0.2351, allocations: 59.89 kB / 442.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2351, allocations: 4 kB / 442.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.2352, allocations: 12.06 kB / 443 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2352, allocations: 0 / 443 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2352, allocations: 0 / 443 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006706/0.2358, allocations: 373.3 kB / 443.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.102e-05/0.2359, allocations: 31.89 kB / 443.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.2359, allocations: 0 / 443.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.2361, allocations: 19.98 kB / 443.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.2361, allocations: 19.97 kB / 443.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.2362, allocations: 4 kB / 443.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001766/0.2363, allocations: 144.5 kB / 443.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2363, allocations: 0 / 443.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003447/0.2367, allocations: 79.73 kB / 443.6 MB, free: 11.05 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.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 (21): * Single equations (assignments): 21 * 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.0001295/0.2368, allocations: 105.6 kB / 443.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004241/0.2372, allocations: 175.4 kB / 443.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2372, allocations: 0 / 443.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001814/0.2374, allocations: 83.83 kB / 444 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.2377, allocations: 27.97 kB / 444 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.2391, allocations: 0.8451 MB / 444.8 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.2393, allocations: 155.1 kB / 445 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.77e-05/0.2394, allocations: 25.94 kB / 445 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.2394, allocations: 15.44 kB / 445 MB, free: 9.578 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2394, allocations: 0 / 445 MB, free: 9.578 MB / 350.1 MB Notification: Performance of Templates: time 0.005718/0.2451, allocations: 2.222 MB / 447.3 MB, free: 7.387 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.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.630349856000976]