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.0018/0.0018, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002666/0.002666, allocations: 205.3 kB / 23.72 MB, free: 4.391 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.486/1.486, allocations: 230.5 MB / 257.4 MB, free: 7.77 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: 67.88 kB / 378.2 MB, free: 2.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2378, allocations: 53.42 MB / 431.6 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004063/0.2418, allocations: 2.7 MB / 434.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.2431, allocations: 0.6777 MB / 435 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.2432, allocations: 7.938 kB / 435 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.2435, allocations: 59.44 kB / 435.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.2436, allocations: 87.17 kB / 435.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.2439, allocations: 95.83 kB / 435.3 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003894/0.2443, allocations: 378.4 kB / 435.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002324/0.2445, allocations: 109.4 kB / 435.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002757/0.2448, allocations: 151.4 kB / 435.9 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.245, allocations: 139.2 kB / 436 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.993e-05/0.245, allocations: 32 kB / 436.1 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.828e-05/0.2451, allocations: 32 kB / 436.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.695e-05/0.2451, allocations: 71.75 kB / 436.2 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.2453, allocations: 135.4 kB / 436.3 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004546/0.2457, allocations: 381 kB / 436.7 MB, free: 1.465 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2457, allocations: 7.938 kB / 436.7 MB, free: 1.457 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2457, allocations: 0 / 436.7 MB, free: 1.457 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.2458, allocations: 4 kB / 436.7 MB, free: 1.453 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.0009582/0.2467, allocations: 0.5287 MB / 437.2 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.2468, allocations: 15.98 kB / 437.2 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.675e-05/0.2468, allocations: 40.7 kB / 437.3 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/0.2472, allocations: 210.7 kB / 437.5 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.193e-05/0.2473, allocations: 21.03 kB / 437.5 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.391e-05/0.2473, allocations: 36.31 kB / 437.5 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005605/0.2479, allocations: 329.8 kB / 437.8 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.2479, allocations: 3.984 kB / 437.9 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.2479, allocations: 8 kB / 437.9 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.2479, allocations: 8 kB / 437.9 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004641/0.2484, allocations: 206.5 kB / 438.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.2499, allocations: 0.8126 MB / 438.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.2502, allocations: 154.6 kB / 439 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.2504, allocations: 68.83 kB / 439.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.2504, allocations: 7.938 kB / 439.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.2505, allocations: 30.56 kB / 439.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.2505, allocations: 0 / 439.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005829/0.251, allocations: 221.7 kB / 439.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.2511, allocations: 51.41 kB / 439.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.2513, allocations: 191.2 kB / 439.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.2513, allocations: 29.7 kB / 439.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.2515, allocations: 200.2 kB / 439.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.344e-05/0.2515, allocations: 67.42 kB / 439.9 MB, free: 14.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.877e-05/0.2516, allocations: 45.7 kB / 439.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.2518, allocations: 330.8 kB / 440.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.2519, allocations: 63.95 kB / 440.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.2521, allocations: 125.9 kB / 440.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.2525, allocations: 189.7 kB / 440.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2525, allocations: 0 / 440.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004909/0.253, allocations: 245.2 kB / 440.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.253, allocations: 10.66 kB / 440.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.253, allocations: 0 / 440.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.2531, allocations: 4 kB / 440.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.2533, allocations: 67.91 kB / 440.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.2534, allocations: 7.984 kB / 440.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.2535, allocations: 23.88 kB / 441 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.2535, allocations: 4 kB / 441 MB, free: 12.91 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.0001647/0.2537, allocations: 149.8 kB / 441.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.2537, allocations: 19.84 kB / 441.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004301/0.2542, allocations: 194 kB / 441.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.2542, allocations: 0 / 441.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.2542, allocations: 4 kB / 441.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2542, allocations: 0 / 441.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.2545, allocations: 217.2 kB / 441.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2545, allocations: 48 / 441.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.2548, allocations: 59.95 kB / 441.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.2548, allocations: 3.938 kB / 441.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.2548, allocations: 0 / 441.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.2548, allocations: 11.92 kB / 441.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2548, allocations: 0 / 441.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000645/0.2554, allocations: 343.9 kB / 442 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.2555, allocations: 23.73 kB / 442 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.2555, allocations: 4.062 kB / 442 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.2557, allocations: 23.98 kB / 442 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.2557, allocations: 11.97 kB / 442 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.2558, allocations: 7.938 kB / 442 MB, free: 11.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.2559, allocations: 139.2 kB / 442.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2559, allocations: 0 / 442.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003569/0.2563, allocations: 71.78 kB / 442.2 MB, free: 11.59 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.0001926/0.2565, allocations: 103.2 kB / 442.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004182/0.2569, allocations: 159.8 kB / 442.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2569, allocations: 0 / 442.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.257, allocations: 78.64 kB / 442.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.2574, allocations: 19.94 kB / 442.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.2589, allocations: 0.8276 MB / 443.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.259, allocations: 159.4 kB / 443.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.379e-05/0.2591, allocations: 21.64 kB / 443.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.2591, allocations: 15.44 kB / 443.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2591, allocations: 0 / 443.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of Templates: time 0.006003/0.2652, allocations: 2.122 MB / 445.7 MB, free: 8.074 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.6197618916630745]