Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.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.0017/0.0017, allocations: 108.6 kB / 21.93 MB, free: 5.215 MB / 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.001781/0.001781, allocations: 214 kB / 25.22 MB, free: 3.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 62.52 kB / 348.5 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2934, allocations: 49.15 MB / 397.6 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007252/0.3006, allocations: 7.027 MB / 404.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01379/0.3144, allocations: 9.518 MB / 414.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/0.3165, allocations: 83.69 kB / 414.2 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002985/0.3195, allocations: 0.7542 MB / 415 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006041/0.3255, allocations: 1.235 MB / 416.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003169/0.3287, allocations: 0.6892 MB / 416.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005571/0.3343, allocations: 2.654 MB / 419.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000637/0.3349, allocations: 233.7 kB / 419.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.3362, allocations: 0.5504 MB / 420.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.3376, allocations: 0.5747 MB / 420.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002597/0.3378, allocations: 66.72 kB / 421 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00241/0.3402, allocations: 0.6715 MB / 421.7 MB, free: 9.797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002968/0.3405, allocations: 223.5 kB / 421.9 MB, free: 9.609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001156/0.3417, allocations: 0.5742 MB / 422.4 MB, free: 9.277 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003851/0.3455, allocations: 2.154 MB / 424.6 MB, free: 7.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3456, allocations: 0 / 424.6 MB, free: 7.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3456, allocations: 0 / 424.6 MB, free: 7.793 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.689e-05/0.3456, allocations: 0 / 424.6 MB, free: 7.793 MB / 334.1 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.00482/0.3504, allocations: 2.207 MB / 426.8 MB, free: 5.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.3505, allocations: 12.03 kB / 426.8 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003523/0.3508, allocations: 231.5 kB / 427 MB, free: 5.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/0.3532, allocations: 1.23 MB / 428.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.471e-05/0.3533, allocations: 37.31 kB / 428.3 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.3534, allocations: 59.98 kB / 428.4 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.3549, allocations: 0.719 MB / 429.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.3549, allocations: 0 / 429.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.23e-05/0.3549, allocations: 20 kB / 429.1 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/0.355, allocations: 23.98 kB / 429.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.3563, allocations: 0.5634 MB / 429.7 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004194/0.3605, allocations: 2.246 MB / 431.9 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.3618, allocations: 0.5643 MB / 432.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009135/0.3627, allocations: 490.2 kB / 433 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007378/0.3701, allocations: 2.92 MB / 435.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008337/0.3709, allocations: 382.5 kB / 436.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.965e-06/0.371, allocations: 0 / 436.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.005969/0.3769, allocations: 1.981 MB / 438.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/0.377, allocations: 89.55 kB / 438.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/0.3789, allocations: 1.439 MB / 439.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.598e-05/0.379, allocations: 37.7 kB / 439.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007549/0.3798, allocations: 0.8023 MB / 440.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/0.38, allocations: 238 kB / 440.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.3802, allocations: 142.6 kB / 441 MB, free: 7.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3804, allocations: 341.9 kB / 441.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000623/0.381, allocations: 249.8 kB / 441.6 MB, free: 6.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008009/0.3818, allocations: 483.8 kB / 442 MB, free: 6.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.3832, allocations: 0.7286 MB / 442.8 MB, free: 5.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.3832, allocations: 4 kB / 442.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002278/0.3855, allocations: 1.113 MB / 443.9 MB, free: 4.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.3856, allocations: 8 kB / 443.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001162/0.3857, allocations: 76.72 kB / 444 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.3869, allocations: 0.6873 MB / 444.7 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004658/0.3874, allocations: 115.8 kB / 444.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.3889, allocations: 1.128 MB / 445.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007963/0.3897, allocations: 83.55 kB / 446 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.358e-05/0.3897, allocations: 40 kB / 446 MB, free: 2.07 MB / 350.1 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.0005112/0.3902, allocations: 289.6 kB / 446.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/0.3905, allocations: 214.6 kB / 446.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00236/0.3929, allocations: 1.05 MB / 447.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.3929, allocations: 11.94 kB / 447.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3929, allocations: 0 / 447.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.3929, allocations: 7.984 kB / 447.6 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.3942, allocations: 0.7982 MB / 448.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001093/0.3943, allocations: 76.11 kB / 448.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000347/0.3946, allocations: 59.88 kB / 448.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001148/0.3958, allocations: 0.6516 MB / 449.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-05/0.3958, allocations: 23.98 kB / 449.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/0.3973, allocations: 1.088 MB / 450.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.3973, allocations: 3.984 kB / 450.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002813/0.4001, allocations: 1.322 MB / 451.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006177/0.4007, allocations: 218.5 kB / 451.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002414/0.4009, allocations: 12 kB / 451.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005485/0.4015, allocations: 39.89 kB / 451.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.4016, allocations: 48.36 kB / 451.9 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.82e-05/0.4017, allocations: 23.98 kB / 451.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001561/0.4033, allocations: 0.9449 MB / 452.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4033, allocations: 0 / 452.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001253/0.4045, allocations: 438.9 kB / 453.3 MB, free: 10.64 MB / 366.1 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.0009584/0.4055, allocations: 479.4 kB / 453.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002159/0.4076, allocations: 0.8119 MB / 454.6 MB, free: 9.344 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.4076, allocations: 7.938 kB / 454.6 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001239/0.4089, allocations: 493.7 kB / 455.1 MB, free: 8.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.4099, allocations: 179.2 kB / 455.3 MB, free: 8.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006262/0.4162, allocations: 3.121 MB / 458.4 MB, free: 5.492 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008378/0.417, allocations: 0.6376 MB / 459 MB, free: 4.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.4172, allocations: 83.42 kB / 459.1 MB, free: 4.738 MB / 366.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4172, allocations: 4 kB / 459.1 MB, free: 4.734 MB / 366.1 MB Notification: Performance of Templates: time 0.0393/0.4565, allocations: 25.82 MB / 484.9 MB, free: 10.87 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkDifferentialPair/Spice3BenchmarkDifferentialPair.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.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: 9.16067048581317]