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.001255/0.001255, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.001335/0.001335, allocations: 164.4 kB / 24.5 MB, free: 3.453 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.436/1.436, allocations: 177.1 MB / 204.7 MB, free: 8.91 MB / 190.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.001992/0.001992, allocations: 61.77 kB / 325.5 MB, free: 216 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.109, allocations: 53.39 MB / 378.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004451/0.1135, allocations: 2.702 MB / 381.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.1149, allocations: 0.6893 MB / 382.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.1151, allocations: 11.94 kB / 382.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.1153, allocations: 55.44 kB / 382.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.1155, allocations: 91.17 kB / 382.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.1157, allocations: 91.83 kB / 382.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004294/0.1162, allocations: 374.4 kB / 382.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002701/0.1164, allocations: 109.8 kB / 383 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003002/0.1167, allocations: 151.5 kB / 383.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.117, allocations: 135.3 kB / 383.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.708e-05/0.117, allocations: 32 kB / 383.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.129e-05/0.1171, allocations: 32 kB / 383.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.287e-05/0.1172, allocations: 75.73 kB / 383.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.1173, allocations: 135.4 kB / 383.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004205/0.1177, allocations: 386.5 kB / 384 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1177, allocations: 0 / 384 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1177, allocations: 0 / 384 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.1177, allocations: 0 / 384 MB, free: 10.45 MB / 350.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.0009804/0.1187, allocations: 0.5365 MB / 384.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1188, allocations: 8.031 kB / 384.5 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.602e-05/0.1188, allocations: 44.7 kB / 384.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/0.1192, allocations: 206 kB / 384.7 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.1193, allocations: 24.97 kB / 384.8 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.022e-05/0.1193, allocations: 36.31 kB / 384.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005595/0.1199, allocations: 329.8 kB / 385.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1199, allocations: 0 / 385.1 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.1199, allocations: 12 kB / 385.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.1199, allocations: 8 kB / 385.1 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004684/0.1204, allocations: 206.5 kB / 385.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.122, allocations: 0.8056 MB / 386.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.1224, allocations: 166.5 kB / 386.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.1226, allocations: 68.83 kB / 386.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.1226, allocations: 7.875 kB / 386.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.1226, allocations: 34.56 kB / 386.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.152e-06/0.1226, allocations: 0 / 386.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005806/0.1232, allocations: 220.8 kB / 386.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.1232, allocations: 55.41 kB / 386.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.1234, allocations: 183.8 kB / 386.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.1235, allocations: 33.7 kB / 386.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.1236, allocations: 204.2 kB / 387.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.88e-05/0.1237, allocations: 67.42 kB / 387.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.077e-05/0.1238, allocations: 45.7 kB / 387.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1239, allocations: 326.8 kB / 387.5 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.1241, allocations: 63.95 kB / 387.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.1243, allocations: 122 kB / 387.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.1246, allocations: 189.7 kB / 387.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1246, allocations: 0 / 387.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004707/0.1251, allocations: 249.2 kB / 388.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1251, allocations: 4 kB / 388.2 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.1251, allocations: 4 kB / 388.2 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.1252, allocations: 0 / 388.2 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.1254, allocations: 63.91 kB / 388.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.1254, allocations: 4 kB / 388.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.1256, allocations: 23.88 kB / 388.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.1256, allocations: 12 kB / 388.3 MB, free: 5.898 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.0001552/0.1258, allocations: 141.9 kB / 388.4 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.1258, allocations: 19.84 kB / 388.4 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004333/0.1262, allocations: 191.3 kB / 388.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.1262, allocations: 4 kB / 388.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1263, allocations: 0 / 388.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1263, allocations: 0 / 388.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.1266, allocations: 217.1 kB / 388.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1266, allocations: 0 / 388.8 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002745/0.1268, allocations: 55.97 kB / 388.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1268, allocations: 3.938 kB / 388.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.1269, allocations: 7.984 kB / 388.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1269, allocations: 3.938 kB / 388.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1269, allocations: 0 / 388.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006127/0.1275, allocations: 346.2 kB / 389.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.1275, allocations: 23.73 kB / 389.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.1276, allocations: 8.062 kB / 389.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.1277, allocations: 15.98 kB / 389.3 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-05/0.1278, allocations: 15.97 kB / 389.3 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.1278, allocations: 4 kB / 389.3 MB, free: 4.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.1279, allocations: 143.2 kB / 389.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1279, allocations: 0 / 389.4 MB, free: 4.664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003235/0.1283, allocations: 75.78 kB / 389.5 MB, free: 4.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.0001393/0.1284, allocations: 99.19 kB / 389.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004249/0.1288, allocations: 163.7 kB / 389.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1288, allocations: 0 / 389.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.129, allocations: 71.89 kB / 389.8 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.1293, allocations: 20 kB / 389.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.1308, allocations: 0.8306 MB / 390.7 MB, free: 3.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.1309, allocations: 163.4 kB / 390.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.498e-05/0.131, allocations: 17.64 kB / 390.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.389e-05/0.1311, allocations: 20.5 kB / 390.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1311, allocations: 0 / 390.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of Templates: time 0.005479/0.1365, allocations: 1.766 MB / 392.6 MB, free: 1.422 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 -s ida -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/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_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.456427372992039]