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.001314/0.001314, allocations: 118.9 kB / 18.41 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001456/0.001456, allocations: 208.5 kB / 19.36 MB, free: 3.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002543/0.002544, allocations: 63.89 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1378, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004966/0.1428, allocations: 2.911 MB / 361.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.1443, allocations: 0.705 MB / 362.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.1445, allocations: 11.94 kB / 362.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.1448, allocations: 59.42 kB / 362.6 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002161/0.145, allocations: 87.19 kB / 362.7 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003675/0.1454, allocations: 91.83 kB / 362.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004655/0.1459, allocations: 366.5 kB / 363.1 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003957/0.1463, allocations: 165.2 kB / 363.3 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003879/0.1467, allocations: 155.4 kB / 363.4 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.1469, allocations: 155.3 kB / 363.6 MB, free: 8.652 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.75e-05/0.147, allocations: 35.98 kB / 363.6 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.861e-05/0.1471, allocations: 32 kB / 363.7 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.326e-05/0.1472, allocations: 71.75 kB / 363.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002186/0.1474, allocations: 167.2 kB / 363.9 MB, free: 8.352 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005355/0.1479, allocations: 378.6 kB / 364.3 MB, free: 7.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.1479, allocations: 0 / 364.3 MB, free: 7.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.148, allocations: 0 / 364.3 MB, free: 7.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.837e-05/0.148, allocations: 4 kB / 364.3 MB, free: 7.977 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.001335/0.1493, allocations: 0.6004 MB / 364.9 MB, free: 7.324 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.1494, allocations: 15.95 kB / 364.9 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.1495, allocations: 36.47 kB / 364.9 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005375/0.1501, allocations: 263.8 kB / 365.2 MB, free: 6.977 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.1501, allocations: 25.03 kB / 365.2 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.721e-05/0.1502, allocations: 36.38 kB / 365.2 MB, free: 6.918 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006019/0.1508, allocations: 282.3 kB / 365.5 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.1508, allocations: 0 / 365.5 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.755e-05/0.1509, allocations: 15.98 kB / 365.5 MB, free: 6.625 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.1509, allocations: 4 kB / 365.5 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004588/0.1513, allocations: 206.5 kB / 365.7 MB, free: 6.418 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.1529, allocations: 0.9751 MB / 366.7 MB, free: 5.367 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.1532, allocations: 162.6 kB / 366.9 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.1534, allocations: 72.83 kB / 366.9 MB, free: 5.125 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.1534, allocations: 8 kB / 366.9 MB, free: 5.117 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.1535, allocations: 34.56 kB / 367 MB, free: 5.074 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.743e-06/0.1535, allocations: 0 / 367 MB, free: 5.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005396/0.154, allocations: 209.6 kB / 367.2 MB, free: 4.863 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.1541, allocations: 55.34 kB / 367.2 MB, free: 4.797 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.1543, allocations: 214.8 kB / 367.4 MB, free: 4.578 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.1543, allocations: 25.7 kB / 367.5 MB, free: 4.547 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.1544, allocations: 200 kB / 367.7 MB, free: 4.348 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.745e-05/0.1545, allocations: 63.09 kB / 367.7 MB, free: 4.285 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.073e-05/0.1546, allocations: 49.61 kB / 367.8 MB, free: 4.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1547, allocations: 334.8 kB / 368.1 MB, free: 3.895 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.1549, allocations: 59.97 kB / 368.2 MB, free: 3.836 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/0.1551, allocations: 122 kB / 368.3 MB, free: 3.695 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.1554, allocations: 189.7 kB / 368.5 MB, free: 3.488 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1554, allocations: 0 / 368.5 MB, free: 3.488 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000458/0.1559, allocations: 241.2 kB / 368.7 MB, free: 3.246 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.1559, allocations: 6.656 kB / 368.7 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.156, allocations: 4 kB / 368.7 MB, free: 3.238 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.156, allocations: 4 kB / 368.7 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.1563, allocations: 64.03 kB / 368.8 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1563, allocations: 4 kB / 368.8 MB, free: 3.168 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.1565, allocations: 31.67 kB / 368.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.1565, allocations: 8 kB / 368.8 MB, free: 3.129 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001456/0.1566, allocations: 141.7 kB / 369 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/0.1567, allocations: 23.81 kB / 369 MB, free: 2.957 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004336/0.1571, allocations: 189.8 kB / 369.2 MB, free: 2.766 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1572, allocations: 4 kB / 369.2 MB, free: 2.762 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1572, allocations: 4 kB / 369.2 MB, free: 2.758 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.1572, allocations: 0 / 369.2 MB, free: 2.758 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.1575, allocations: 325.3 kB / 369.5 MB, free: 2.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1575, allocations: 0 / 369.5 MB, free: 2.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.1578, allocations: 47.97 kB / 369.5 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.1578, allocations: 48 / 369.5 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.1579, allocations: 11.98 kB / 369.6 MB, free: 2.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1579, allocations: 0 / 369.6 MB, free: 2.332 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1579, allocations: 0 / 369.6 MB, free: 2.332 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005622/0.1584, allocations: 356.2 kB / 369.9 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.834e-05/0.1585, allocations: 96.98 kB / 370 MB, free: 1.855 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.1586, allocations: 4 kB / 370 MB, free: 1.852 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.1588, allocations: 15.98 kB / 370 MB, free: 1.836 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.1588, allocations: 15.98 kB / 370 MB, free: 1.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.1588, allocations: 8 kB / 370 MB, free: 1.812 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.159, allocations: 144.6 kB / 370.2 MB, free: 1.672 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.159, allocations: 0 / 370.2 MB, free: 1.672 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000339/0.1593, allocations: 79.69 kB / 370.3 MB, free: 1.594 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 (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.0001418/0.1595, allocations: 107.1 kB / 370.4 MB, free: 1.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003951/0.1599, allocations: 160.3 kB / 370.5 MB, free: 1.324 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1599, allocations: 0 / 370.5 MB, free: 1.324 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.16, allocations: 78.98 kB / 370.6 MB, free: 1.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.1604, allocations: 36.05 kB / 370.6 MB, free: 1.215 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.1618, allocations: 0.8227 MB / 371.5 MB, free: 372 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2021/0.3639, allocations: 0.7638 MB / 372.2 MB, free: 19.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001679/0.3642, allocations: 23.41 kB / 372.2 MB, free: 19.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.389e-05/0.3642, allocations: 20.45 kB / 372.3 MB, free: 19.49 MB / 302.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3643, allocations: 0.5 kB / 372.3 MB, free: 19.49 MB / 302.1 MB Notification: Performance of Templates: time 0.007215/0.3715, allocations: 1.987 MB / 374.2 MB, free: 19.46 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches