Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.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.001102/0.001102, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001967/0.003069, 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.001182/0.001182, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001607/0.002789, 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.9506/0.9506, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08682/1.037, allocations: 53.87 MB / 243.9 MB, free: 14.86 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.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|Q1.vbc|Q1.vbe|Q2.vbc|Q2.vbe|VCC.T0|VCC.counter|VCC.counter2|VEE.T0|VEE.counter|VEE.counter2",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.139e-05, allocations: 2.312 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.0133/0.01332, allocations: 7.822 MB / 253 MB, free: 5.707 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02386/0.03718, allocations: 10.8 MB / 263.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006813/0.03786, allocations: 87.06 kB / 263.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.03942, allocations: 0.8052 MB / 264.7 MB, free: 9.961 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002307/0.04173, allocations: 1.281 MB / 266 MB, free: 8.672 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.04293, allocations: 0.622 MB / 266.6 MB, free: 8.047 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002738/0.04566, allocations: 2.808 MB / 269.4 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003097/0.04597, allocations: 244.2 kB / 269.7 MB, free: 4.961 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.0472, allocations: 1.393 MB / 271.1 MB, free: 3.516 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005059/0.04771, allocations: 490.3 kB / 271.6 MB, free: 3.035 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.04786, allocations: 72 kB / 271.6 MB, free: 2.965 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.04898, allocations: 0.8068 MB / 272.4 MB, free: 2.156 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.0491, allocations: 178.8 kB / 272.6 MB, free: 1.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003187/0.04942, allocations: 394.8 kB / 273 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.05067, allocations: 1.498 MB / 274.5 MB, free: 92 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.17e-05/0.05068, allocations: 0 / 274.5 MB, free: 92 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.05068, allocations: 0 / 274.5 MB, free: 92 kB / 266.7 MB Notification: Performance of Transformations before backend: time 3.104e-05/0.05072, allocations: 0 / 274.5 MB, free: 92 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.1158/0.1665, allocations: 2.598 MB / 277.1 MB, free: 7.941 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1665, allocations: 11.28 kB / 277.1 MB, free: 7.941 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004149/0.167, allocations: 196.8 kB / 277.3 MB, free: 7.941 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.1682, allocations: 1.059 MB / 278.3 MB, free: 7.402 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.1682, allocations: 45.72 kB / 278.4 MB, free: 7.402 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-05/0.1683, allocations: 55.45 kB / 278.4 MB, free: 7.402 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007145/0.169, allocations: 0.5137 MB / 279 MB, free: 7.285 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.1691, allocations: 3.938 kB / 279 MB, free: 7.281 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.081e-05/0.1691, allocations: 24.41 kB / 279 MB, free: 7.281 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.1691, allocations: 19.16 kB / 279 MB, free: 7.281 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.1695, allocations: 192.6 kB / 279.2 MB, free: 7.262 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.1715, allocations: 1.563 MB / 280.8 MB, free: 6.637 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.1719, allocations: 348.9 kB / 281.1 MB, free: 6.566 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.1722, allocations: 282.9 kB / 281.4 MB, free: 6.559 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004938/0.1771, allocations: 3.052 MB / 284.4 MB, free: 6.145 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003153/0.1774, allocations: 230.4 kB / 284.7 MB, free: 6.086 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 2.645e-06/0.1774, allocations: 0 / 284.7 MB, free: 6.086 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.003032/0.1805, allocations: 1.359 MB / 286 MB, free: 5.922 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.1805, allocations: 57.44 kB / 286.1 MB, free: 5.859 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007668/0.1813, allocations: 1.306 MB / 287.4 MB, free: 5.637 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.1813, allocations: 41.72 kB / 287.4 MB, free: 5.605 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.1815, allocations: 480 kB / 287.9 MB, free: 5.391 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.1816, allocations: 232.1 kB / 288.1 MB, free: 5.242 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.1817, allocations: 126.6 kB / 288.2 MB, free: 5.223 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.269e-05/0.1818, allocations: 347.3 kB / 288.6 MB, free: 4.914 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.1819, allocations: 75.67 kB / 288.6 MB, free: 4.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001812/0.1821, allocations: 312.5 kB / 289 MB, free: 4.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003747/0.1825, allocations: 462.4 kB / 289.4 MB, free: 4.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.1825, allocations: 0 / 289.4 MB, free: 4.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0006603/0.1831, allocations: 0.6003 MB / 290 MB, free: 4.363 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1831, allocations: 10.38 kB / 290 MB, free: 4.359 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.215e-05/0.1832, allocations: 22.17 kB / 290 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006908/0.1839, allocations: 0.5255 MB / 290.6 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.1842, allocations: 128.4 kB / 290.7 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005526/0.1847, allocations: 0.8035 MB / 291.5 MB, free: 3.797 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003545/0.1851, allocations: 75.98 kB / 291.6 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.554e-05/0.1851, allocations: 24.47 kB / 291.6 MB, free: 3.762 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 14 (VCC.counter,$PRE.VCC.counter,VEE.counter,$PRE.VEE.counter,VEE.counter2,$PRE.VEE.counter2,VEE.T0,$PRE.VEE.T0,VCC.counter2,$PRE.VCC.counter2,VCC.T0,$PRE.VCC.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0001801/0.1853, allocations: 162.2 kB / 291.7 MB, free: 3.637 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.1854, allocations: 147.6 kB / 291.9 MB, free: 3.637 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007664/0.1862, allocations: 0.6066 MB / 292.5 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1862, allocations: 6.531 kB / 292.5 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.1862, allocations: 4 kB / 292.5 MB, free: 3.508 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.1862, allocations: 6.578 kB / 292.5 MB, free: 3.508 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005697/0.1868, allocations: 0.5584 MB / 293.1 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.185e-05/0.1868, allocations: 9.172 kB / 293.1 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.187, allocations: 61.45 kB / 293.1 MB, free: 3.402 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.1872, allocations: 182 kB / 293.3 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006313/0.1879, allocations: 0.5181 MB / 293.8 MB, free: 3.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.1879, allocations: 17.2 kB / 293.9 MB, free: 3.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004838/0.1884, allocations: 0.7796 MB / 294.6 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1884, allocations: 0 / 294.6 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007119/0.1891, allocations: 0.641 MB / 295.3 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.1892, allocations: 13.02 kB / 295.3 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002647/0.1895, allocations: 26.92 kB / 295.3 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.584e-05/0.1896, allocations: 41.09 kB / 295.4 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.1896, allocations: 13.5 kB / 295.4 MB, free: 2.598 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004379/0.19, allocations: 0.6776 MB / 296 MB, free: 2.254 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.19, allocations: 0 / 296 MB, free: 2.254 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006381/0.1907, allocations: 450.9 kB / 296.5 MB, free: 1.844 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Q1.vbe,Q1.vbc,Q2.vbe,Q2.vbc) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VCC.T0,VCC.counter,VCC.counter2,VEE.T0,VEE.counter,VEE.counter2) * Number of discrete states: 4 (VEE.counter,VCC.counter,VEE.counter2,VCC.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,24)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000577/0.1912, allocations: 0.556 MB / 297 MB, free: 1.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006487/0.1919, allocations: 479.3 kB / 297.5 MB, free: 1.031 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.188e-05/0.1919, allocations: 24 kB / 297.5 MB, free: 1.008 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004259/0.1923, allocations: 317.1 kB / 297.8 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.1934, allocations: 1.572 MB / 299.4 MB, free: 15.1 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005123/0.1986, allocations: 2.523 MB / 301.9 MB, free: 12.78 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.1987, allocations: 240 kB / 302.2 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003488/0.1991, allocations: 162.1 kB / 302.3 MB, free: 12.36 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.1993, allocations: 233.1 kB / 302.6 MB, free: 12.13 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1993, allocations: 0 / 302.6 MB, free: 12.13 MB / 282.7 MB Notification: Performance of Templates: time 0.01966/0.219, allocations: 16.95 MB / 319.5 MB, free: 11.71 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkDifferentialPair/Spice3BenchmarkDifferentialPair.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.9834502870216966]