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.000775/0.000775, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001094/0.001869, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006801/0.0006801, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009274/0.001607, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.173/1.173, allocations: 177.5 MB / 190 MB, free: 4.758 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09009/1.263, allocations: 53.87 MB / 243.9 MB, free: 14.81 MB / 250.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.363e-06/1.363e-06, allocations: 0 / 245.2 MB, free: 13.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.116e-05, allocations: 2.312 kB / 245.2 MB, free: 13.5 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004925/0.004946, allocations: 2.916 MB / 248.2 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.006471, allocations: 0.7279 MB / 248.9 MB, free: 9.828 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002038/0.006675, allocations: 7.938 kB / 248.9 MB, free: 9.82 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.00684, allocations: 63.42 kB / 248.9 MB, free: 9.758 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002016/0.007041, allocations: 99.06 kB / 249 MB, free: 9.66 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.007301, allocations: 91.81 kB / 249.1 MB, free: 9.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004554/0.007756, allocations: 394.2 kB / 249.5 MB, free: 9.184 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002202/0.007976, allocations: 104.5 kB / 249.6 MB, free: 9.082 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004355/0.008412, allocations: 239.5 kB / 249.9 MB, free: 8.848 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.008598, allocations: 123.7 kB / 250 MB, free: 8.727 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.246e-05/0.00864, allocations: 32 kB / 250 MB, free: 8.695 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.862e-05/0.008679, allocations: 32 kB / 250 MB, free: 8.664 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.319e-05/0.008722, allocations: 51.81 kB / 250.1 MB, free: 8.613 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.258e-05/0.008805, allocations: 99.81 kB / 250.2 MB, free: 8.516 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.009107, allocations: 231 kB / 250.4 MB, free: 8.289 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.405e-05/0.009121, allocations: 0 / 250.4 MB, free: 8.289 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.009124, allocations: 0 / 250.4 MB, free: 8.289 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.009136, allocations: 0 / 250.4 MB, free: 8.289 MB / 250.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.0007681/0.009904, allocations: 0.5778 MB / 251 MB, free: 7.688 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.009951, allocations: 8.625 kB / 251 MB, free: 7.68 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.124e-05/0.01004, allocations: 56.89 kB / 251.1 MB, free: 7.625 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.01033, allocations: 177.2 kB / 251.2 MB, free: 7.426 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.01035, allocations: 25.03 kB / 251.3 MB, free: 7.402 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.317e-05/0.01041, allocations: 36.36 kB / 251.3 MB, free: 7.367 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.01073, allocations: 254.7 kB / 251.5 MB, free: 7.098 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.01074, allocations: 192 / 251.5 MB, free: 7.098 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.01077, allocations: 20.36 kB / 251.6 MB, free: 7.078 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.01078, allocations: 11.94 kB / 251.6 MB, free: 7.066 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.01088, allocations: 72.5 kB / 251.6 MB, free: 6.996 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.01212, allocations: 0.685 MB / 252.3 MB, free: 6.27 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.01234, allocations: 90.53 kB / 252.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.862e-05/0.01241, allocations: 40.83 kB / 252.5 MB, free: 6.129 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.01243, allocations: 4 kB / 252.5 MB, free: 6.125 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.01247, allocations: 34.56 kB / 252.5 MB, free: 6.082 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.683e-06/0.01247, allocations: 0 / 252.5 MB, free: 6.082 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002578/0.01273, allocations: 109.8 kB / 252.6 MB, free: 5.969 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.01276, allocations: 59.34 kB / 252.7 MB, free: 5.898 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.01292, allocations: 195.1 kB / 252.8 MB, free: 5.695 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.01295, allocations: 29.7 kB / 252.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.01306, allocations: 180.3 kB / 253.1 MB, free: 5.48 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.827e-05/0.01312, allocations: 67.42 kB / 253.1 MB, free: 5.414 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-05/0.01321, allocations: 53.61 kB / 253.2 MB, free: 5.355 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.01334, allocations: 330.8 kB / 253.5 MB, free: 5.023 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.255e-05/0.01339, allocations: 19.98 kB / 253.5 MB, free: 5.004 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.406e-05/0.01349, allocations: 73.92 kB / 253.6 MB, free: 4.91 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.01365, allocations: 121.9 kB / 253.7 MB, free: 4.77 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.01366, allocations: 0 / 253.7 MB, free: 4.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002332/0.01389, allocations: 141.4 kB / 253.8 MB, free: 4.625 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.01391, allocations: 7.281 kB / 253.8 MB, free: 4.621 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.01392, allocations: 4 kB / 253.9 MB, free: 4.617 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.01394, allocations: 4 kB / 253.9 MB, free: 4.613 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/0.01432, allocations: 87.33 kB / 253.9 MB, free: 4.531 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.01433, allocations: 11.97 kB / 254 MB, free: 4.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.01443, allocations: 23.78 kB / 254 MB, free: 4.496 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.01445, allocations: 8 kB / 254 MB, free: 4.488 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 9.853e-05/0.01455, allocations: 121.8 kB / 254.1 MB, free: 4.359 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.01459, allocations: 11.98 kB / 254.1 MB, free: 4.348 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000186/0.01478, allocations: 115.4 kB / 254.2 MB, free: 4.23 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01478, allocations: 0 / 254.2 MB, free: 4.23 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.01478, allocations: 4 kB / 254.2 MB, free: 4.227 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.01479, allocations: 0 / 254.2 MB, free: 4.227 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.01503, allocations: 153.7 kB / 254.4 MB, free: 4.059 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.01503, allocations: 0 / 254.4 MB, free: 4.059 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.01523, allocations: 67.89 kB / 254.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.01525, allocations: 23.8 kB / 254.5 MB, free: 3.969 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.01526, allocations: 0 / 254.5 MB, free: 3.969 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.01527, allocations: 4 kB / 254.5 MB, free: 3.965 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.01527, allocations: 4 kB / 254.5 MB, free: 3.961 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01528, allocations: 0 / 254.5 MB, free: 3.961 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.01548, allocations: 234.6 kB / 254.7 MB, free: 3.719 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.0155, allocations: 7.938 kB / 254.7 MB, free: 3.711 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.01557, allocations: 19.92 kB / 254.7 MB, free: 3.691 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.01561, allocations: 7.984 kB / 254.7 MB, free: 3.684 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.01562, allocations: 16.05 kB / 254.8 MB, free: 3.668 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.28e-05/0.01566, allocations: 46 kB / 254.8 MB, free: 3.621 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01566, allocations: 3.938 kB / 254.8 MB, free: 3.617 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001843/0.01584, allocations: 79.78 kB / 254.9 MB, free: 3.539 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 0.000112/0.01596, allocations: 80.64 kB / 255 MB, free: 3.449 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.0161, allocations: 104.6 kB / 255.1 MB, free: 3.344 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/0.01611, allocations: 4 kB / 255.1 MB, free: 3.34 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.776e-05/0.01617, allocations: 56.77 kB / 255.1 MB, free: 3.281 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.01645, allocations: 346.9 kB / 255.5 MB, free: 2.871 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.01879, allocations: 0.6219 MB / 256.1 MB, free: 2.223 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.068e-05/0.01885, allocations: 96.19 kB / 256.2 MB, free: 2.105 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.177e-05/0.01892, allocations: 22.12 kB / 256.2 MB, free: 2.086 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.01903, allocations: 95.36 kB / 256.3 MB, free: 1.992 MB / 250.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01903, allocations: 0 / 256.3 MB, free: 1.992 MB / 250.7 MB Notification: Performance of Templates: time 0.004389/0.02342, allocations: 2.137 MB / 258.4 MB, free: 15.89 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.748366483487189]