Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.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.0007503/0.0007503, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.00184, 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.0007101/0.0007101, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00108/0.00179, 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 0.9875/0.9875, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09068/1.078, allocations: 53.87 MB / 243.9 MB, free: 14.85 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.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator") translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.144e-05, allocations: 6.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.005344/0.005365, allocations: 7.079 MB / 252.3 MB, free: 6.457 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008216/0.01358, allocations: 10.23 MB / 262.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004993/0.01408, allocations: 118.6 kB / 262.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009507/0.01503, allocations: 0.6733 MB / 263.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001671/0.0167, allocations: 1.227 MB / 264.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.01774, allocations: 0.5947 MB / 265.1 MB, free: 9.555 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002416/0.02016, allocations: 2.64 MB / 267.8 MB, free: 6.902 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002855/0.02044, allocations: 193 kB / 267.9 MB, free: 6.684 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.02149, allocations: 1.201 MB / 269.1 MB, free: 5.465 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003936/0.02189, allocations: 402.5 kB / 269.5 MB, free: 5.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.367e-05/0.02196, allocations: 56 kB / 269.6 MB, free: 5.016 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.02304, allocations: 0.7873 MB / 270.4 MB, free: 4.227 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.02315, allocations: 150.9 kB / 270.5 MB, free: 4.078 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.0234, allocations: 346.9 kB / 270.9 MB, free: 3.738 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.0246, allocations: 1.377 MB / 272.2 MB, free: 2.355 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.247e-05/0.02461, allocations: 0 / 272.2 MB, free: 2.355 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.02461, allocations: 0 / 272.2 MB, free: 2.355 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.605e-05/0.02464, allocations: 0 / 272.2 MB, free: 2.355 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.1165/0.1411, allocations: 2.331 MB / 274.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.1411, allocations: 10.22 kB / 274.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002147/0.1414, allocations: 168 kB / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.1425, allocations: 1.071 MB / 275.8 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.1425, allocations: 32.88 kB / 275.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/0.1425, allocations: 51.34 kB / 275.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.143, allocations: 348.2 kB / 276.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.143, allocations: 4.688 kB / 276.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.143, allocations: 18.91 kB / 276.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.143, allocations: 16.91 kB / 276.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.1432, allocations: 166.2 kB / 276.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.1446, allocations: 1.246 MB / 277.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.1449, allocations: 354.6 kB / 278 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.1451, allocations: 277.8 kB / 278.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003484/0.1486, allocations: 2.661 MB / 281 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.1488, allocations: 192 kB / 281.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of pre-optimization done (n=55): time 2.003e-06/0.1488, allocations: 0.9688 kB / 281.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.001402/0.1502, allocations: 1.035 MB / 282.2 MB, free: 13.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.1503, allocations: 59.06 kB / 282.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007273/0.151, allocations: 1.187 MB / 283.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.151, allocations: 34.56 kB / 283.5 MB, free: 13.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.1512, allocations: 424.3 kB / 283.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.416e-05/0.1513, allocations: 213.6 kB / 284.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.1514, allocations: 115.6 kB / 284.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.306e-05/0.1514, allocations: 339 kB / 284.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.733e-05/0.1515, allocations: 68.34 kB / 284.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.1517, allocations: 235.9 kB / 284.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.152, allocations: 406.7 kB / 285.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.152, allocations: 3.125 kB / 285.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005784/0.1525, allocations: 0.5327 MB / 285.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1526, allocations: 7.781 kB / 285.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.38e-05/0.1526, allocations: 15.95 kB / 285.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002455/0.1528, allocations: 124.7 kB / 285.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.1531, allocations: 142.4 kB / 286.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.1541, allocations: 1.822 MB / 287.9 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.1543, allocations: 31.09 kB / 287.9 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.969e-05/0.1544, allocations: 18.34 kB / 287.9 MB, free: 11 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000141/0.1545, allocations: 144.8 kB / 288.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.903e-05/0.1546, allocations: 140.5 kB / 288.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005691/0.1552, allocations: 0.5655 MB / 288.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1552, allocations: 4.625 kB / 288.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1552, allocations: 3.031 kB / 288.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1552, allocations: 6.703 kB / 288.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/0.1555, allocations: 493 kB / 289.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-05/0.1556, allocations: 5.359 kB / 289.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.1557, allocations: 81.09 kB / 289.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.1559, allocations: 162 kB / 289.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001924/0.1561, allocations: 121 kB / 289.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.1561, allocations: 13.7 kB / 289.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009077/0.157, allocations: 1.822 MB / 291.5 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.157, allocations: 0 / 291.5 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000491/0.1575, allocations: 0.5746 MB / 292 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.937e-05/0.1576, allocations: 10.94 kB / 292 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.1577, allocations: 18.22 kB / 292.1 MB, free: 9.129 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.1578, allocations: 40.39 kB / 292.1 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.1578, allocations: 13.28 kB / 292.1 MB, free: 9.125 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002896/0.1581, allocations: 0.6021 MB / 292.7 MB, free: 9.078 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1581, allocations: 0 / 292.7 MB, free: 9.078 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004978/0.1586, allocations: 393.4 kB / 293.1 MB, free: 9.027 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,14,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005039/0.1591, allocations: 0.5113 MB / 293.6 MB, free: 8.891 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005324/0.1596, allocations: 0.5628 MB / 294.2 MB, free: 8.668 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.927e-05/0.1596, allocations: 21.16 kB / 294.2 MB, free: 8.668 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003111/0.1599, allocations: 449.5 kB / 294.6 MB, free: 8.312 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007317/0.1607, allocations: 1.699 MB / 296.3 MB, free: 6.387 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.1637, allocations: 2.079 MB / 298.4 MB, free: 4.402 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.1638, allocations: 235.1 kB / 298.6 MB, free: 4.215 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003338/0.1642, allocations: 187 kB / 298.8 MB, free: 4.078 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003337/0.1645, allocations: 266.5 kB / 299.1 MB, free: 3.832 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1645, allocations: 0 / 299.1 MB, free: 3.832 MB / 266.7 MB Notification: Performance of Templates: time 0.02332/0.1878, allocations: 16.21 MB / 315.3 MB, free: 3.969 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.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.938514307141304]