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.001281/0.001281, allocations: 84.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.001035/0.001035, allocations: 164.3 kB / 24.91 MB, free: 8.77 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.9763/0.9763, allocations: 177 MB / 205.2 MB, free: 5.473 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 1.092e-06/1.092e-06, allocations: 0 / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028e-05/1.137e-05, allocations: 2.312 kB / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.005232/0.005243, allocations: 7.79 MB / 281.2 MB, free: 9.375 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1123/0.1175, allocations: 10.75 MB / 292 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000964/0.1185, allocations: 87.62 kB / 292.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.1199, allocations: 0.7992 MB / 292.9 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002531/0.1224, allocations: 1.28 MB / 294.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.1239, allocations: 0.6271 MB / 294.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00335/0.1272, allocations: 2.865 MB / 297.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003241/0.1276, allocations: 248.4 kB / 297.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.1289, allocations: 1.132 MB / 299 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006306/0.1295, allocations: 491 kB / 299.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.069e-05/0.1296, allocations: 65.59 kB / 299.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.131, allocations: 0.8149 MB / 300.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.1311, allocations: 222 kB / 300.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000384/0.1315, allocations: 453.6 kB / 301 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.1328, allocations: 1.629 MB / 302.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1328, allocations: 1.375 kB / 302.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1328, allocations: 0 / 302.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.1328, allocations: 2.297 kB / 302.6 MB, free: 12.09 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.001618/0.1344, allocations: 2.165 MB / 304.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.1344, allocations: 8.875 kB / 304.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/0.1347, allocations: 204.2 kB / 305 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008363/0.1355, allocations: 1.066 MB / 306.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.1355, allocations: 40.86 kB / 306.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.374e-05/0.1356, allocations: 54.75 kB / 306.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/0.1361, allocations: 0.5206 MB / 306.7 MB, free: 9.906 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1361, allocations: 3.938 kB / 306.7 MB, free: 9.902 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.1361, allocations: 20.97 kB / 306.7 MB, free: 9.887 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.1361, allocations: 20.02 kB / 306.7 MB, free: 9.883 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/0.1363, allocations: 191.6 kB / 306.9 MB, free: 9.855 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.1377, allocations: 1.56 MB / 308.5 MB, free: 8.922 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.1379, allocations: 356.9 kB / 308.8 MB, free: 8.758 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.1381, allocations: 280.1 kB / 309.1 MB, free: 8.691 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003817/0.1419, allocations: 3.049 MB / 312.2 MB, free: 6.477 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.1422, allocations: 236.4 kB / 312.4 MB, free: 6.242 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 2.365e-06/0.1422, allocations: 0 / 312.4 MB, free: 6.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.002117/0.1443, allocations: 1.351 MB / 313.7 MB, free: 4.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.1443, allocations: 88.8 kB / 313.8 MB, free: 4.805 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005981/0.1449, allocations: 1.312 MB / 315.1 MB, free: 3.719 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.145, allocations: 41.69 kB / 315.2 MB, free: 3.672 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.1451, allocations: 469.2 kB / 315.6 MB, free: 3.289 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.222e-05/0.1452, allocations: 239.9 kB / 315.9 MB, free: 3.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.1453, allocations: 127 kB / 316 MB, free: 2.957 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.607e-05/0.1453, allocations: 349.7 kB / 316.3 MB, free: 2.625 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.406e-05/0.1454, allocations: 73.97 kB / 316.4 MB, free: 2.551 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.1456, allocations: 315.4 kB / 316.7 MB, free: 2.176 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.1458, allocations: 446.9 kB / 317.2 MB, free: 1.699 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.1458, allocations: 0 / 317.2 MB, free: 1.699 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005012/0.1463, allocations: 0.5959 MB / 317.8 MB, free: 1.133 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1464, allocations: 11.94 kB / 317.8 MB, free: 1.121 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-05/0.1464, allocations: 12 kB / 317.8 MB, free: 1.109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005238/0.1469, allocations: 0.5296 MB / 318.3 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.1472, allocations: 122 kB / 318.4 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005124/0.1477, allocations: 0.813 MB / 319.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003653/0.148, allocations: 79.48 kB / 319.3 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/0.1481, allocations: 28 kB / 319.3 MB, free: 15.55 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.0001884/0.1483, allocations: 156.5 kB / 319.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.1484, allocations: 147.8 kB / 319.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006959/0.1491, allocations: 0.607 MB / 320.2 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.1491, allocations: 8 kB / 320.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.1491, allocations: 4 kB / 320.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1491, allocations: 3.984 kB / 320.3 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005319/0.1496, allocations: 0.5525 MB / 320.8 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.3e-05/0.1497, allocations: 8.875 kB / 320.8 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.1498, allocations: 47.95 kB / 320.9 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000545/0.1504, allocations: 0.5221 MB / 321.4 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.1504, allocations: 19.92 kB / 321.4 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005033/0.1509, allocations: 0.7801 MB / 322.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1509, allocations: 1.438 kB / 322.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006154/0.1515, allocations: 0.6357 MB / 322.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/0.1517, allocations: 186.5 kB / 323 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-05/0.1518, allocations: 15.98 kB / 323 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.152, allocations: 19.98 kB / 323 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/0.1521, allocations: 41.59 kB / 323.1 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.1521, allocations: 15.98 kB / 323.1 MB, free: 11.88 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004256/0.1525, allocations: 0.6708 MB / 323.8 MB, free: 11.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1525, allocations: 0 / 323.8 MB, free: 11.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006687/0.1532, allocations: 446.9 kB / 324.2 MB, free: 10.84 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.0006517/0.1539, allocations: 0.5513 MB / 324.8 MB, free: 10.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006573/0.1545, allocations: 478.2 kB / 325.2 MB, free: 9.887 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.012e-05/0.1545, allocations: 20 kB / 325.3 MB, free: 9.867 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003877/0.1549, allocations: 310.8 kB / 325.6 MB, free: 9.562 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005574/0.1555, allocations: 218.2 kB / 325.8 MB, free: 9.355 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/0.1584, allocations: 2.502 MB / 328.3 MB, free: 6.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.1586, allocations: 239.9 kB / 328.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003055/0.1589, allocations: 162.1 kB / 328.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/0.1591, allocations: 233.3 kB / 328.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of SimCode: time 1.462e-06/0.1591, allocations: 0 / 328.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of Templates: time 0.02823/0.1874, allocations: 16.59 MB / 345.5 MB, free: 5.797 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 -s gbode -gbm=radauIIA3 -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: 3.1350141600705683]