Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002148/0.002148, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.432/1.432, allocations: 177.2 MB / 204.9 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 54.72 kB / 325.6 MB, free: 284 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08592/0.08757, allocations: 53.34 MB / 378.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008015/0.09558, allocations: 6.475 MB / 385.4 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01258/0.1082, allocations: 9.328 MB / 394.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008151/0.109, allocations: 122.6 kB / 394.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.1105, allocations: 0.6463 MB / 395.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002757/0.1133, allocations: 1.198 MB / 396.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.1148, allocations: 0.6837 MB / 397.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003614/0.1184, allocations: 2.567 MB / 399.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000333/0.1187, allocations: 172.4 kB / 400.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005865/0.1193, allocations: 0.5132 MB / 400.6 MB, free: 9.879 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006419/0.1199, allocations: 0.5005 MB / 401.1 MB, free: 9.375 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.1201, allocations: 56 kB / 401.1 MB, free: 9.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.1214, allocations: 0.6908 MB / 401.8 MB, free: 8.629 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.1215, allocations: 186.8 kB / 402 MB, free: 8.445 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005208/0.1221, allocations: 0.5045 MB / 402.5 MB, free: 7.938 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002181/0.1242, allocations: 1.976 MB / 404.5 MB, free: 5.953 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1242, allocations: 0 / 404.5 MB, free: 5.953 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1242, allocations: 4 kB / 404.5 MB, free: 5.949 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.1243, allocations: 0 / 404.5 MB, free: 5.949 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.002798/0.1271, allocations: 1.975 MB / 406.5 MB, free: 3.934 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.1271, allocations: 8.031 kB / 406.5 MB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.1273, allocations: 207.7 kB / 406.7 MB, free: 3.723 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.1293, allocations: 1.244 MB / 407.9 MB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.926e-05/0.1293, allocations: 32.94 kB / 408 MB, free: 2.387 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.782e-05/0.1294, allocations: 51.95 kB / 408 MB, free: 2.336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009514/0.1304, allocations: 0.5119 MB / 408.5 MB, free: 1.816 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.1304, allocations: 3.938 kB / 408.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.015e-05/0.1304, allocations: 24 kB / 408.6 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.1304, allocations: 19.98 kB / 408.6 MB, free: 1.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009592/0.1314, allocations: 468.1 kB / 409 MB, free: 1.316 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002957/0.1344, allocations: 1.865 MB / 410.9 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009529/0.1353, allocations: 0.5066 MB / 411.4 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007449/0.1361, allocations: 473.3 kB / 411.9 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004912/0.141, allocations: 2.28 MB / 414.1 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006123/0.1416, allocations: 306 kB / 414.4 MB, free: 11.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=61): time 2.234e-06/0.1416, allocations: 0 / 414.4 MB, free: 11.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.005041/0.1466, allocations: 2.275 MB / 416.7 MB, free: 9.473 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.1467, allocations: 63.84 kB / 416.8 MB, free: 9.398 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/0.1482, allocations: 1.295 MB / 418.1 MB, free: 8.105 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.353e-05/0.1482, allocations: 33.7 kB / 418.1 MB, free: 8.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006379/0.1489, allocations: 0.7002 MB / 418.8 MB, free: 7.359 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.149, allocations: 230 kB / 419 MB, free: 7.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.1492, allocations: 126.3 kB / 419.2 MB, free: 7.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1494, allocations: 326 kB / 419.5 MB, free: 6.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004738/0.1499, allocations: 225.5 kB / 419.7 MB, free: 6.461 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005754/0.1504, allocations: 356.5 kB / 420 MB, free: 6.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.1515, allocations: 0.6165 MB / 420.7 MB, free: 5.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1515, allocations: 0 / 420.7 MB, free: 5.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001715/0.1532, allocations: 0.9677 MB / 421.6 MB, free: 4.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1532, allocations: 8 kB / 421.6 MB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001009/0.1534, allocations: 67.98 kB / 421.7 MB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004754/0.1538, allocations: 181.2 kB / 421.9 MB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/0.1543, allocations: 111.8 kB / 422 MB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003356/0.1576, allocations: 2.602 MB / 424.6 MB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004271/0.1581, allocations: 31.91 kB / 424.6 MB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-05/0.1581, allocations: 36 kB / 424.7 MB, free: 1.285 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.0003828/0.1585, allocations: 269.7 kB / 424.9 MB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.1587, allocations: 186.9 kB / 425.1 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.1607, allocations: 0.9779 MB / 426.1 MB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.1607, allocations: 4 kB / 426.1 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.1607, allocations: 4 kB / 426.1 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1607, allocations: 3.984 kB / 426.1 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009258/0.1617, allocations: 0.7296 MB / 426.8 MB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.189e-05/0.1617, allocations: 59.98 kB / 426.9 MB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003453/0.1621, allocations: 71.83 kB / 427 MB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004322/0.1625, allocations: 175.9 kB / 427.1 MB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-05/0.1626, allocations: 27.98 kB / 427.2 MB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00324/0.1658, allocations: 2.598 MB / 429.7 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1658, allocations: 0 / 429.7 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/0.168, allocations: 1.189 MB / 430.9 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003357/0.1683, allocations: 182.8 kB / 431.1 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.1684, allocations: 16 kB / 431.1 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.1688, allocations: 23.97 kB / 431.2 MB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.1689, allocations: 56.34 kB / 431.2 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.667e-05/0.169, allocations: 20 kB / 431.2 MB, free: 10.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001075/0.1701, allocations: 0.8573 MB / 432.1 MB, free: 9.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1701, allocations: 0 / 432.1 MB, free: 9.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008934/0.1709, allocations: 391.2 kB / 432.5 MB, free: 9.297 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.0007157/0.1717, allocations: 471.5 kB / 432.9 MB, free: 8.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.1734, allocations: 0.8717 MB / 433.8 MB, free: 7.926 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1734, allocations: 0 / 433.8 MB, free: 7.926 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.1745, allocations: 0.6126 MB / 434.4 MB, free: 7.285 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008404/0.1753, allocations: 206.2 kB / 434.6 MB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003482/0.1788, allocations: 2.459 MB / 437.1 MB, free: 4.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005988/0.1794, allocations: 0.5916 MB / 437.7 MB, free: 3.961 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004535/0.1799, allocations: 179.2 kB / 437.8 MB, free: 3.781 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.18, allocations: 84.5 kB / 437.9 MB, free: 3.699 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.18, allocations: 4 kB / 437.9 MB, free: 3.695 MB / 398.1 MB Notification: Performance of Templates: time 0.02807/0.2081, allocations: 14.48 MB / 452.4 MB, free: 5.32 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.793903663055971]