Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.001364/0.001364, allocations: 79.69 kB / 21.7 MB, free: 2.844 MB / 18.57 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.001076/0.001076, allocations: 166.6 kB / 24.99 MB, free: 8.797 MB / 18.57 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.053/1.053, allocations: 177 MB / 205.2 MB, free: 5.594 MB / 186.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.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 273 MB, free: 1.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.713e-05, allocations: 2.312 kB / 273 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.00464/0.004667, allocations: 5.137 MB / 278.2 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.006821, allocations: 1.492 MB / 279.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002878/0.007109, allocations: 35.69 kB / 279.7 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.007453, allocations: 221.8 kB / 279.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004029/0.007855, allocations: 209.8 kB / 280.1 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000557/0.008412, allocations: 419.2 kB / 280.5 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007599/0.009172, allocations: 1.157 MB / 281.7 MB, free: 9.027 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003818/0.009554, allocations: 316.9 kB / 282 MB, free: 8.695 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005897/0.01014, allocations: 0.5962 MB / 282.6 MB, free: 8.098 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.01042, allocations: 294.9 kB / 282.9 MB, free: 7.809 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.125e-05/0.0105, allocations: 84 kB / 283 MB, free: 7.727 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.01064, allocations: 107.9 kB / 283.1 MB, free: 7.621 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.01075, allocations: 215 kB / 283.3 MB, free: 7.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.01095, allocations: 323 kB / 283.6 MB, free: 7.094 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006297/0.01158, allocations: 0.7778 MB / 284.4 MB, free: 6.312 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.01158, allocations: 0 / 284.4 MB, free: 6.312 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01158, allocations: 4 kB / 284.4 MB, free: 6.309 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.01159, allocations: 0 / 284.4 MB, free: 6.309 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001417/0.01301, allocations: 1.359 MB / 285.7 MB, free: 4.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.044e-05/0.01308, allocations: 15.98 kB / 285.7 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003494/0.01343, allocations: 227.1 kB / 286 MB, free: 4.672 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007136/0.01414, allocations: 0.624 MB / 286.6 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.693e-05/0.01419, allocations: 74 kB / 286.7 MB, free: 3.945 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.841e-05/0.01428, allocations: 100 kB / 286.8 MB, free: 3.848 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.01532, allocations: 1.05 MB / 287.8 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.01534, allocations: 7.891 kB / 287.8 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.131e-05/0.01539, allocations: 47.94 kB / 287.9 MB, free: 2.562 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.01542, allocations: 28 kB / 287.9 MB, free: 2.535 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005454/0.01596, allocations: 387.2 kB / 288.3 MB, free: 2.156 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1191/0.135, allocations: 6.867 MB / 295.1 MB, free: 22.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.1354, allocations: 189.8 kB / 295.3 MB, free: 22.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.1356, allocations: 115 kB / 295.4 MB, free: 22.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.568e-05/0.1357, allocations: 11.28 kB / 295.4 MB, free: 22.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.1357, allocations: 43.3 kB / 295.5 MB, free: 22.62 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 2.835e-06/0.1357, allocations: 0 / 295.5 MB, free: 22.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.002273/0.138, allocations: 1.369 MB / 296.9 MB, free: 22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.138, allocations: 86.75 kB / 296.9 MB, free: 21.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005515/0.1386, allocations: 0.6686 MB / 297.6 MB, free: 21.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1386, allocations: 30.89 kB / 297.6 MB, free: 21.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002808/0.1389, allocations: 0.6614 MB / 298.3 MB, free: 21.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.878e-05/0.1389, allocations: 156.5 kB / 298.4 MB, free: 20.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.1391, allocations: 138.9 kB / 298.6 MB, free: 20.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.889e-05/0.1392, allocations: 0.5528 MB / 299.1 MB, free: 20.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.1393, allocations: 79.05 kB / 299.2 MB, free: 20.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.1395, allocations: 0.5706 MB / 299.8 MB, free: 19.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004897/0.14, allocations: 0.7132 MB / 300.5 MB, free: 18.94 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.14, allocations: 9.969 kB / 300.5 MB, free: 18.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0007993/0.1408, allocations: 0.624 MB / 301.1 MB, free: 18.69 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.1409, allocations: 8.75 kB / 301.1 MB, free: 18.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.1409, allocations: 12.53 kB / 301.2 MB, free: 18.69 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/0.1409, allocations: 17.66 kB / 301.2 MB, free: 18.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/0.1413, allocations: 193.2 kB / 301.4 MB, free: 18.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-05/0.1413, allocations: 23.41 kB / 301.4 MB, free: 18.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.1416, allocations: 31.58 kB / 301.4 MB, free: 18.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.1416, allocations: 40.73 kB / 301.5 MB, free: 18.65 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * 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.0001433/0.1417, allocations: 214.8 kB / 301.7 MB, free: 18.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.417e-05/0.1418, allocations: 95.66 kB / 301.8 MB, free: 18.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.731e-05/0.1419, allocations: 78.08 kB / 301.8 MB, free: 18.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.1419, allocations: 3.984 kB / 301.8 MB, free: 18.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.1419, allocations: 1.703 kB / 301.8 MB, free: 18.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.1419, allocations: 3.094 kB / 301.8 MB, free: 18.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.1431, allocations: 1.146 MB / 303 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.1431, allocations: 2.047 kB / 303 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.1434, allocations: 101.3 kB / 303.1 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.1434, allocations: 6.984 kB / 303.1 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.1434, allocations: 9.734 kB / 303.1 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.1434, allocations: 8.156 kB / 303.1 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1434, allocations: 2.562 kB / 303.1 MB, free: 17.61 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004883/0.1439, allocations: 0.6563 MB / 303.8 MB, free: 17.13 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.144, allocations: 64.77 kB / 303.8 MB, free: 17.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.144, allocations: 13.09 kB / 303.8 MB, free: 17.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.1442, allocations: 22.44 kB / 303.9 MB, free: 17.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.231e-05/0.1443, allocations: 32.06 kB / 303.9 MB, free: 17.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.1443, allocations: 14.84 kB / 303.9 MB, free: 17.06 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003361/0.1446, allocations: 412.1 kB / 304.3 MB, free: 16.87 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1446, allocations: 1.062 kB / 304.3 MB, free: 16.87 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005137/0.1451, allocations: 136.5 kB / 304.5 MB, free: 16.85 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.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 (40): * Single equations (assignments): 40 * 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.0001201/0.1452, allocations: 104.9 kB / 304.6 MB, free: 16.76 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004266/0.1457, allocations: 330 kB / 304.9 MB, free: 16.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1457, allocations: 1.562 kB / 304.9 MB, free: 16.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.1458, allocations: 111.5 kB / 305 MB, free: 16.63 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.1462, allocations: 71.47 kB / 305.1 MB, free: 16.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.1481, allocations: 1.588 MB / 306.6 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.1483, allocations: 167.3 kB / 306.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.00019/0.1485, allocations: 96.53 kB / 306.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.1486, allocations: 68.86 kB / 307 MB, free: 15.5 MB / 266.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1486, allocations: 0 / 307 MB, free: 15.5 MB / 266.7 MB Notification: Performance of Templates: time 0.008111/0.1567, allocations: 4.721 MB / 311.7 MB, free: 13.48 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.053712656022981]