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.001528/0.001528, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001724/0.001724, allocations: 159.4 kB / 24.91 MB, free: 8.719 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 0.9124/0.9124, allocations: 177 MB / 205.2 MB, free: 5.039 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.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 2.345e-06/2.345e-06, allocations: 4 kB / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/2.051e-05, allocations: 9.266 kB / 273.4 MB, free: 1.062 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.005515/0.005536, allocations: 7.736 MB / 281.1 MB, free: 9.289 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1171/0.1226, allocations: 10.74 MB / 291.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008438/0.1235, allocations: 87.78 kB / 292 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.1249, allocations: 0.8057 MB / 292.8 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00261/0.1275, allocations: 1.315 MB / 294.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.129, allocations: 0.7216 MB / 294.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002739/0.1317, allocations: 2.863 MB / 297.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003305/0.1321, allocations: 250.7 kB / 297.9 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.1332, allocations: 1.131 MB / 299 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000497/0.1337, allocations: 493.8 kB / 299.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.547e-05/0.1338, allocations: 65.88 kB / 299.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.135, allocations: 0.7158 MB / 300.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.1351, allocations: 230.7 kB / 300.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003513/0.1354, allocations: 444.2 kB / 301 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.1366, allocations: 1.632 MB / 302.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1366, allocations: 4 kB / 302.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1366, allocations: 0 / 302.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.066e-05/0.1367, allocations: 0 / 302.6 MB, free: 12.43 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.001651/0.1383, allocations: 2.169 MB / 304.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.1383, allocations: 8.094 kB / 304.8 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000254/0.1386, allocations: 200.6 kB / 305 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008702/0.1395, allocations: 1.063 MB / 306 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.1395, allocations: 39.59 kB / 306.1 MB, free: 10.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.087e-05/0.1395, allocations: 53.67 kB / 306.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004597/0.14, allocations: 0.5238 MB / 306.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.14, allocations: 3.938 kB / 306.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.14, allocations: 18.94 kB / 306.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.1401, allocations: 20.28 kB / 306.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.1403, allocations: 186.9 kB / 306.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.1417, allocations: 1.568 MB / 308.4 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.142, allocations: 361.4 kB / 308.8 MB, free: 9.055 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.1422, allocations: 282.4 kB / 309.1 MB, free: 8.984 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003342/0.1455, allocations: 3.047 MB / 312.1 MB, free: 6.699 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.1457, allocations: 227 kB / 312.3 MB, free: 6.473 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 1.984e-06/0.1457, allocations: 0 / 312.3 MB, free: 6.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.002028/0.1477, allocations: 1.355 MB / 313.7 MB, free: 5.133 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.1478, allocations: 93.61 kB / 313.8 MB, free: 5.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005311/0.1483, allocations: 1.31 MB / 315.1 MB, free: 3.938 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.1483, allocations: 37.7 kB / 315.1 MB, free: 3.895 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.1485, allocations: 478 kB / 315.6 MB, free: 3.504 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.204e-05/0.1485, allocations: 236.4 kB / 315.8 MB, free: 3.289 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.746e-05/0.1486, allocations: 124.5 kB / 316 MB, free: 3.176 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.988e-05/0.1487, allocations: 346.8 kB / 316.3 MB, free: 2.848 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.412e-05/0.1487, allocations: 73.97 kB / 316.4 MB, free: 2.773 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.1489, allocations: 312.2 kB / 316.7 MB, free: 2.398 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.1491, allocations: 447.3 kB / 317.1 MB, free: 1.922 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.1491, allocations: 0 / 317.1 MB, free: 1.922 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0004749/0.1496, allocations: 0.5963 MB / 317.7 MB, free: 1.359 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1496, allocations: 11.94 kB / 317.7 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.156e-05/0.1497, allocations: 16.62 kB / 317.7 MB, free: 1.336 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005176/0.1502, allocations: 0.5307 MB / 318.3 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.1504, allocations: 110.7 kB / 318.4 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004713/0.1509, allocations: 0.8155 MB / 319.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.1511, allocations: 83.44 kB / 319.3 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.1512, allocations: 20 kB / 319.3 MB, free: 15.79 MB / 282.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.0001813/0.1513, allocations: 153.4 kB / 319.4 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.1515, allocations: 147.8 kB / 319.6 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007059/0.1522, allocations: 0.6175 MB / 320.2 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1522, allocations: 6.25 kB / 320.2 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.1522, allocations: 0.875 kB / 320.2 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1522, allocations: 4 kB / 320.2 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005086/0.1527, allocations: 0.5487 MB / 320.8 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.874e-05/0.1527, allocations: 11.98 kB / 320.8 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.1529, allocations: 47.97 kB / 320.8 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005533/0.1534, allocations: 0.5201 MB / 321.3 MB, free: 13.83 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.1535, allocations: 17.98 kB / 321.4 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000497/0.1539, allocations: 0.7849 MB / 322.1 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1539, allocations: 0 / 322.1 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006699/0.1546, allocations: 0.6304 MB / 322.8 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002245/0.1548, allocations: 182.5 kB / 322.9 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-05/0.1549, allocations: 15.98 kB / 323 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.1551, allocations: 27.98 kB / 323 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.1552, allocations: 40.42 kB / 323 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.1552, allocations: 15.98 kB / 323 MB, free: 12.12 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004058/0.1556, allocations: 0.6749 MB / 323.7 MB, free: 11.51 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1556, allocations: 0 / 323.7 MB, free: 11.51 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006701/0.1563, allocations: 446.9 kB / 324.2 MB, free: 11.07 MB / 282.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.0005735/0.1569, allocations: 0.5509 MB / 324.7 MB, free: 10.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005875/0.1575, allocations: 473.9 kB / 325.2 MB, free: 10.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-05/0.1575, allocations: 20 kB / 325.2 MB, free: 10.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003592/0.1578, allocations: 313.4 kB / 325.5 MB, free: 9.797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005281/0.1584, allocations: 218.7 kB / 325.7 MB, free: 9.594 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/0.1612, allocations: 2.495 MB / 328.2 MB, free: 7.062 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.1614, allocations: 243.9 kB / 328.4 MB, free: 6.801 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002652/0.1616, allocations: 158.1 kB / 328.6 MB, free: 6.645 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.1619, allocations: 237.3 kB / 328.8 MB, free: 6.414 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1619, allocations: 0 / 328.8 MB, free: 6.414 MB / 282.7 MB Notification: Performance of Templates: time 0.02008/0.1819, allocations: 16.59 MB / 345.4 MB, free: 6.031 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.881823071744293]