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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=20000,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=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001145/0.001145, allocations: 93.89 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001461/0.001461, allocations: 192.9 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.7 MB / 246.4 MB, free: 9.801 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002859/0.000286, allocations: 11.98 kB / 307.1 MB, free: 0.9688 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1218, allocations: 51.52 MB / 358.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.003184/0.125, allocations: 2.467 MB / 361.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1262, allocations: 0.6742 MB / 361.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.1263, allocations: 8 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002295/0.1266, allocations: 43.61 kB / 361.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.1267, allocations: 71.45 kB / 361.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.127, allocations: 71.86 kB / 362 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004453/0.1275, allocations: 342.6 kB / 362.3 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002887/0.1278, allocations: 111.9 kB / 362.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003032/0.1281, allocations: 119.6 kB / 362.5 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.1283, allocations: 131.3 kB / 362.7 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.1284, allocations: 16 kB / 362.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.183e-05/0.1284, allocations: 20 kB / 362.7 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.519e-05/0.1285, allocations: 59.77 kB / 362.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.508e-05/0.1286, allocations: 85.45 kB / 362.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.1289, allocations: 275.4 kB / 363.1 MB, free: 8.941 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.1289, allocations: 4 kB / 363.1 MB, free: 8.938 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1289, allocations: 0 / 363.1 MB, free: 8.938 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1289, allocations: 0 / 363.1 MB, free: 8.938 MB / 302.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.0009643/0.1299, allocations: 0.5613 MB / 363.7 MB, free: 8.324 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.13, allocations: 12.02 kB / 363.7 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.845e-05/0.1301, allocations: 31.62 kB / 363.7 MB, free: 8.281 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.1304, allocations: 258.5 kB / 364 MB, free: 7.988 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.1305, allocations: 24.66 kB / 364 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.295e-05/0.1306, allocations: 32 kB / 364 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005653/0.1311, allocations: 286 kB / 364.3 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1312, allocations: 0 / 364.3 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.1312, allocations: 12 kB / 364.3 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.1312, allocations: 8 kB / 364.3 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000463/0.1317, allocations: 218.4 kB / 364.5 MB, free: 7.418 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.1332, allocations: 0.983 MB / 365.5 MB, free: 6.359 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.1335, allocations: 166 kB / 365.7 MB, free: 6.191 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.1336, allocations: 80.81 kB / 365.7 MB, free: 6.109 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.1337, allocations: 7.938 kB / 365.8 MB, free: 6.102 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.1337, allocations: 38.88 kB / 365.8 MB, free: 6.055 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.133e-06/0.1337, allocations: 0 / 365.8 MB, free: 6.055 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005035/0.1342, allocations: 237.2 kB / 366 MB, free: 5.816 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1343, allocations: 51.41 kB / 366.1 MB, free: 5.754 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.1345, allocations: 210.8 kB / 366.3 MB, free: 5.539 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.1345, allocations: 29.7 kB / 366.3 MB, free: 5.504 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.1346, allocations: 192 kB / 366.5 MB, free: 5.312 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.856e-05/0.1347, allocations: 63.09 kB / 366.6 MB, free: 5.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.1347, allocations: 4 kB / 366.6 MB, free: 5.246 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1348, allocations: 330.8 kB / 366.9 MB, free: 4.914 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.135, allocations: 75.91 kB / 367 MB, free: 4.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.1352, allocations: 121.9 kB / 367.1 MB, free: 4.699 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.1354, allocations: 79.92 kB / 367.2 MB, free: 4.621 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.1354, allocations: 0 / 367.2 MB, free: 4.621 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004469/0.1358, allocations: 261.1 kB / 367.4 MB, free: 4.359 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1358, allocations: 4 kB / 367.4 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1359, allocations: 4 kB / 367.4 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1359, allocations: 0 / 367.4 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.1362, allocations: 59.97 kB / 367.5 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.1362, allocations: 16.02 kB / 367.5 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.1363, allocations: 31.77 kB / 367.5 MB, free: 4.246 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.1364, allocations: 4 kB / 367.5 MB, free: 4.242 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001597/0.1365, allocations: 141.8 kB / 367.7 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/0.1366, allocations: 23.72 kB / 367.7 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004267/0.137, allocations: 197.8 kB / 367.9 MB, free: 3.871 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.137, allocations: 4 kB / 367.9 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.137, allocations: 0 / 367.9 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.137, allocations: 0 / 367.9 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.1374, allocations: 329.3 kB / 368.2 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1374, allocations: 0 / 368.2 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.1377, allocations: 55.91 kB / 368.3 MB, free: 3.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1377, allocations: 0 / 368.3 MB, free: 3.441 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.1377, allocations: 8 kB / 368.3 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1377, allocations: 0 / 368.3 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1377, allocations: 0 / 368.3 MB, free: 3.434 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005328/0.1382, allocations: 360.2 kB / 368.6 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.1383, allocations: 100.9 kB / 368.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.1383, allocations: 0 / 368.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.1385, allocations: 19.98 kB / 368.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.1386, allocations: 19.92 kB / 368.8 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.1386, allocations: 12.06 kB / 368.8 MB, free: 2.898 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.1387, allocations: 148.6 kB / 368.9 MB, free: 2.754 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1387, allocations: 0 / 368.9 MB, free: 2.754 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003044/0.139, allocations: 79.69 kB / 369 MB, free: 2.676 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001302/0.1392, allocations: 99.25 kB / 369.1 MB, free: 2.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000366/0.1395, allocations: 174.3 kB / 369.3 MB, free: 2.402 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1395, allocations: 0 / 369.3 MB, free: 2.402 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.1397, allocations: 79.89 kB / 369.3 MB, free: 2.324 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.1401, allocations: 36.8 kB / 369.4 MB, free: 2.289 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.1414, allocations: 1.03 MB / 370.4 MB, free: 1.234 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.1418, allocations: 0.7676 MB / 371.2 MB, free: 448 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.295e-05/0.1419, allocations: 25.92 kB / 371.2 MB, free: 416 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.1419, allocations: 19.44 kB / 371.2 MB, free: 396 kB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1419, allocations: 0 / 371.2 MB, free: 396 kB / 302.1 MB Notification: Performance of Templates: time 0.1908/0.3328, allocations: 1.778 MB / 373 MB, free: 18.34 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches