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.001312/0.001312, allocations: 79.58 kB / 21.24 MB, free: 0.543 MB / 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.001379/0.001379, allocations: 162.1 kB / 24.5 MB, free: 3.719 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.486/1.486, allocations: 177.1 MB / 204.7 MB, free: 8.984 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.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 0.001983/0.001983, allocations: 62.52 kB / 325.5 MB, free: 200 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08797/0.08995, allocations: 53.38 MB / 378.9 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.007759/0.09771, allocations: 6.487 MB / 385.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01191/0.1096, allocations: 9.321 MB / 394.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008521/0.1105, allocations: 126.6 kB / 394.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.112, allocations: 0.6462 MB / 395.5 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002768/0.1148, allocations: 1.198 MB / 396.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.1163, allocations: 0.6875 MB / 397.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003809/0.1201, allocations: 2.575 MB / 399.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003377/0.1204, allocations: 168.4 kB / 400.1 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006481/0.1211, allocations: 0.5132 MB / 400.6 MB, free: 9.652 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006591/0.1218, allocations: 0.5082 MB / 401.1 MB, free: 9.141 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.1219, allocations: 56 kB / 401.2 MB, free: 9.086 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.1233, allocations: 0.683 MB / 401.9 MB, free: 8.402 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.1235, allocations: 186.8 kB / 402 MB, free: 8.219 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005149/0.124, allocations: 0.5007 MB / 402.5 MB, free: 7.715 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00228/0.1263, allocations: 1.98 MB / 404.5 MB, free: 5.727 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1263, allocations: 0 / 404.5 MB, free: 5.727 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1263, allocations: 0 / 404.5 MB, free: 5.727 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.1263, allocations: 4 kB / 404.5 MB, free: 5.723 MB / 366.1 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.002991/0.1293, allocations: 1.971 MB / 406.5 MB, free: 3.711 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.1293, allocations: 19.98 kB / 406.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002658/0.1296, allocations: 207.7 kB / 406.7 MB, free: 3.488 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002054/0.1317, allocations: 1.236 MB / 408 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/0.1317, allocations: 40.88 kB / 408 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.173e-05/0.1318, allocations: 47.95 kB / 408 MB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009655/0.1327, allocations: 0.5119 MB / 408.6 MB, free: 1.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.1328, allocations: 0 / 408.6 MB, free: 1.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.155e-05/0.1328, allocations: 19.98 kB / 408.6 MB, free: 1.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.1328, allocations: 20 kB / 408.6 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009881/0.1338, allocations: 476 kB / 409.1 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003023/0.1368, allocations: 1.857 MB / 410.9 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009782/0.1378, allocations: 0.5069 MB / 411.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000751/0.1386, allocations: 469.4 kB / 411.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004862/0.1434, allocations: 2.272 MB / 414.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006065/0.144, allocations: 314 kB / 414.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=61): time 2.525e-06/0.144, allocations: 0 / 414.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.005065/0.1491, allocations: 2.282 MB / 416.7 MB, free: 9.246 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.1492, allocations: 59.91 kB / 416.8 MB, free: 9.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.1507, allocations: 1.291 MB / 418.1 MB, free: 7.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.1507, allocations: 37.7 kB / 418.1 MB, free: 7.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006505/0.1514, allocations: 0.7002 MB / 418.8 MB, free: 7.137 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.1516, allocations: 230 kB / 419.1 MB, free: 6.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.1518, allocations: 122.3 kB / 419.2 MB, free: 6.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1519, allocations: 330 kB / 419.5 MB, free: 6.457 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004669/0.1524, allocations: 225.5 kB / 419.7 MB, free: 6.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005881/0.153, allocations: 364.3 kB / 420.1 MB, free: 5.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.1541, allocations: 0.6126 MB / 420.7 MB, free: 5.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1541, allocations: 4 kB / 420.7 MB, free: 5.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001731/0.1558, allocations: 0.9718 MB / 421.7 MB, free: 4.176 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1559, allocations: 8 kB / 421.7 MB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-05/0.156, allocations: 64 kB / 421.7 MB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000484/0.1564, allocations: 187.8 kB / 421.9 MB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/0.1569, allocations: 107.8 kB / 422 MB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003414/0.1603, allocations: 2.597 MB / 424.6 MB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004399/0.1608, allocations: 27.97 kB / 424.6 MB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.012e-05/0.1608, allocations: 35.98 kB / 424.7 MB, free: 1.062 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (54): * Single equations (assignments): 51 * 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,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004102/0.1612, allocations: 273.7 kB / 424.9 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.1615, allocations: 186.9 kB / 425.1 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/0.1635, allocations: 0.9662 MB / 426.1 MB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.1635, allocations: 8 kB / 426.1 MB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1635, allocations: 4 kB / 426.1 MB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.1635, allocations: 3.984 kB / 426.1 MB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009376/0.1644, allocations: 0.7257 MB / 426.8 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.021e-05/0.1645, allocations: 64 kB / 426.9 MB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003418/0.1649, allocations: 71.88 kB / 427 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004511/0.1653, allocations: 172.7 kB / 427.1 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/0.1654, allocations: 12 kB / 427.1 MB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003308/0.1687, allocations: 2.606 MB / 429.8 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1687, allocations: 0 / 429.8 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/0.1709, allocations: 1.185 MB / 430.9 MB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/0.1712, allocations: 186.8 kB / 431.1 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.1714, allocations: 12 kB / 431.1 MB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003929/0.1718, allocations: 15.98 kB / 431.1 MB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.1719, allocations: 52.41 kB / 431.2 MB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/0.1719, allocations: 27.98 kB / 431.2 MB, free: 10.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001133/0.1731, allocations: 0.8534 MB / 432.1 MB, free: 9.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1731, allocations: 0 / 432.1 MB, free: 9.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009562/0.174, allocations: 391.2 kB / 432.5 MB, free: 9.098 MB / 398.1 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 (31): * Single equations (assignments): 25 * 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,17,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007954/0.1748, allocations: 463.5 kB / 432.9 MB, free: 8.633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001838/0.1767, allocations: 0.8828 MB / 433.8 MB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1767, allocations: 0 / 433.8 MB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001144/0.1778, allocations: 0.6092 MB / 434.4 MB, free: 7.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008784/0.1787, allocations: 222 kB / 434.6 MB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003796/0.1825, allocations: 2.45 MB / 437.1 MB, free: 4.387 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006142/0.1831, allocations: 0.5838 MB / 437.7 MB, free: 3.766 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004596/0.1836, allocations: 187.2 kB / 437.8 MB, free: 3.578 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.1837, allocations: 84.5 kB / 437.9 MB, free: 3.496 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1837, allocations: 0 / 437.9 MB, free: 3.496 MB / 398.1 MB Notification: Performance of Templates: time 0.0308/0.2145, allocations: 14.5 MB / 452.4 MB, free: 5.102 MB / 414.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.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.863903471035883]