Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007547/0.0007547, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009737/0.001728, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006549/0.0006549, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008686/0.001523, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.024/1.024, allocations: 173.4 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08041/1.105, allocations: 52.5 MB / 238.3 MB, free: 4.434 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 239.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017e-05/1.138e-05, allocations: 2.312 kB / 239.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.006912/0.006924, allocations: 7.805 MB / 247.4 MB, free: 11.33 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01092/0.01785, allocations: 10.76 MB / 258.1 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005942/0.01844, allocations: 83.12 kB / 258.2 MB, free: 456 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.01982, allocations: 0.8013 MB / 259 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002244/0.02206, allocations: 1.278 MB / 260.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.02309, allocations: 0.6219 MB / 260.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00267/0.02576, allocations: 2.784 MB / 263.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003087/0.02607, allocations: 240.2 kB / 263.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.02738, allocations: 1.366 MB / 265.3 MB, free: 9.25 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005109/0.02789, allocations: 498.3 kB / 265.8 MB, free: 8.762 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.37e-05/0.02799, allocations: 64 kB / 265.8 MB, free: 8.699 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.02917, allocations: 0.7912 MB / 266.6 MB, free: 7.906 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003755/0.02955, allocations: 174.8 kB / 266.8 MB, free: 7.734 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003935/0.02994, allocations: 398.8 kB / 267.2 MB, free: 7.344 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.03141, allocations: 1.483 MB / 268.7 MB, free: 5.855 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.615e-05/0.03142, allocations: 0 / 268.7 MB, free: 5.855 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.03142, allocations: 0 / 268.7 MB, free: 5.855 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.871e-05/0.03145, allocations: 0 / 268.7 MB, free: 5.855 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.002484/0.03394, allocations: 2.599 MB / 271.3 MB, free: 3.199 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.933e-05/0.03396, allocations: 8.031 kB / 271.3 MB, free: 3.191 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.03417, allocations: 192.7 kB / 271.5 MB, free: 3.004 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.03542, allocations: 1.063 MB / 272.5 MB, free: 1.848 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.03545, allocations: 37.69 kB / 272.6 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.998e-05/0.03553, allocations: 68.34 kB / 272.6 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006385/0.03617, allocations: 0.5114 MB / 273.1 MB, free: 1.211 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.03618, allocations: 4 kB / 273.1 MB, free: 1.207 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.109e-05/0.03622, allocations: 20 kB / 273.2 MB, free: 1.188 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.03624, allocations: 23.98 kB / 273.2 MB, free: 1.164 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003117/0.03655, allocations: 189.2 kB / 273.4 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1095/0.1461, allocations: 1.552 MB / 274.9 MB, free: 18.97 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.1464, allocations: 366.9 kB / 275.3 MB, free: 18.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002886/0.1467, allocations: 275.1 kB / 275.6 MB, free: 18.89 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004082/0.1507, allocations: 3.025 MB / 278.6 MB, free: 18.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002907/0.151, allocations: 228.5 kB / 278.8 MB, free: 18.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 1.763e-06/0.151, allocations: 0 / 278.8 MB, free: 18.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.002483/0.1535, allocations: 1.356 MB / 280.2 MB, free: 18.37 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.1535, allocations: 63.5 kB / 280.2 MB, free: 18.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008858/0.1544, allocations: 1.309 MB / 281.5 MB, free: 18.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.1545, allocations: 38.73 kB / 281.6 MB, free: 18.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.1547, allocations: 477 kB / 282 MB, free: 17.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.404e-05/0.1548, allocations: 240.3 kB / 282.3 MB, free: 17.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.1549, allocations: 123.3 kB / 282.4 MB, free: 17.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.645e-05/0.1549, allocations: 349 kB / 282.7 MB, free: 17.53 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.488e-05/0.155, allocations: 80.3 kB / 282.8 MB, free: 17.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.1552, allocations: 305.8 kB / 283.1 MB, free: 17.28 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/0.1555, allocations: 448.3 kB / 283.5 MB, free: 17.04 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.1555, allocations: 3.062 kB / 283.5 MB, free: 17.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005509/0.156, allocations: 0.5983 MB / 284.1 MB, free: 16.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.156, allocations: 8.281 kB / 284.2 MB, free: 16.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.494e-05/0.1561, allocations: 17.91 kB / 284.2 MB, free: 16.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006109/0.1567, allocations: 0.5436 MB / 284.7 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.1569, allocations: 124.4 kB / 284.8 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004577/0.1574, allocations: 0.812 MB / 285.6 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.1577, allocations: 77.84 kB / 285.7 MB, free: 16.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.1577, allocations: 25.41 kB / 285.7 MB, free: 16.36 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.0001536/0.1579, allocations: 151.9 kB / 285.9 MB, free: 16.24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.158, allocations: 147.8 kB / 286 MB, free: 16.24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006931/0.1587, allocations: 0.6222 MB / 286.7 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1587, allocations: 10.31 kB / 286.7 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.1587, allocations: 0 / 286.7 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1587, allocations: 4.641 kB / 286.7 MB, free: 16.11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004214/0.1591, allocations: 0.5499 MB / 287.2 MB, free: 16.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-05/0.1592, allocations: 10.64 kB / 287.2 MB, free: 16.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.1593, allocations: 55.61 kB / 287.3 MB, free: 16.01 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.1595, allocations: 184.6 kB / 287.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004777/0.1599, allocations: 0.5237 MB / 288 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.16, allocations: 10.22 kB / 288 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003738/0.1603, allocations: 0.79 MB / 288.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1603, allocations: 0 / 288.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/0.1609, allocations: 0.6253 MB / 289.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.707e-05/0.1609, allocations: 10.22 kB / 289.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.1611, allocations: 30.41 kB / 289.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.1612, allocations: 48.34 kB / 289.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.1612, allocations: 15.42 kB / 289.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003287/0.1615, allocations: 0.6765 MB / 290.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1615, allocations: 0 / 290.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005038/0.162, allocations: 443.8 kB / 290.6 MB, free: 15.04 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.0004965/0.1625, allocations: 0.546 MB / 291.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005007/0.163, allocations: 477.4 kB / 291.6 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.059e-05/0.1631, allocations: 29.77 kB / 291.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003111/0.1634, allocations: 301.4 kB / 292 MB, free: 14.71 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.1639, allocations: 337.3 kB / 292.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003514/0.1674, allocations: 2.514 MB / 294.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.1675, allocations: 239.5 kB / 295 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002316/0.1677, allocations: 160.8 kB / 295.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.1679, allocations: 245.6 kB / 295.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of SimCode: time 6.82e-07/0.1679, allocations: 0 / 295.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of Templates: time 0.01765/0.1856, allocations: 16.9 MB / 312.3 MB, free: 12.03 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.9553194819018245]