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.002169/0.002169, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 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.002511/0.002511, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.45/1.45, allocations: 207.6 MB / 236 MB, free: 9.98 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.001972/0.001972, allocations: 56.23 kB / 348.5 MB, free: 9.605 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2742, allocations: 49.16 MB / 397.6 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007235/0.2815, allocations: 8.22 MB / 405.8 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01317/0.2946, allocations: 11.01 MB / 416.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.2964, allocations: 87.22 kB / 416.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002527/0.2989, allocations: 0.829 MB / 417.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005706/0.3046, allocations: 1.232 MB / 419 MB, free: 9.836 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00277/0.3074, allocations: 0.7066 MB / 419.7 MB, free: 9.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005371/0.3127, allocations: 2.667 MB / 422.4 MB, free: 8.027 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005444/0.3133, allocations: 228.7 kB / 422.6 MB, free: 7.871 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.3144, allocations: 0.5584 MB / 423.1 MB, free: 7.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009663/0.3154, allocations: 0.6141 MB / 423.8 MB, free: 7.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.3155, allocations: 66.28 kB / 423.8 MB, free: 7.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002008/0.3175, allocations: 0.7114 MB / 424.5 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.3177, allocations: 224.2 kB / 424.8 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007947/0.3185, allocations: 0.7635 MB / 425.5 MB, free: 6.191 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003253/0.3218, allocations: 2.132 MB / 427.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3218, allocations: 0 / 427.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3218, allocations: 0 / 427.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.705e-05/0.3218, allocations: 3.938 kB / 427.7 MB, free: 4.703 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.004426/0.3263, allocations: 2.213 MB / 429.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.3263, allocations: 11.97 kB / 429.9 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003927/0.3267, allocations: 231.5 kB / 430.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002266/0.329, allocations: 1.219 MB / 431.3 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.957e-05/0.329, allocations: 41.31 kB / 431.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.3291, allocations: 55.94 kB / 431.4 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.3305, allocations: 0.6939 MB / 432.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.3305, allocations: 0 / 432.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.944e-05/0.3306, allocations: 24 kB / 432.1 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.3306, allocations: 15.98 kB / 432.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.332, allocations: 0.5712 MB / 432.7 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004624/0.3366, allocations: 2.471 MB / 435.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.3378, allocations: 0.5605 MB / 435.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008558/0.3387, allocations: 498.1 kB / 436.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007658/0.3464, allocations: 2.984 MB / 439.2 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008893/0.3472, allocations: 378.5 kB / 439.6 MB, free: 9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.816e-06/0.3472, allocations: 0 / 439.6 MB, free: 9 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.006137/0.3534, allocations: 1.996 MB / 441.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.177e-05/0.3535, allocations: 93.53 kB / 441.7 MB, free: 6.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/0.3554, allocations: 1.427 MB / 443.1 MB, free: 5.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.84e-05/0.3555, allocations: 37.7 kB / 443.1 MB, free: 5.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008626/0.3563, allocations: 0.8102 MB / 444 MB, free: 4.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/0.3565, allocations: 230 kB / 444.2 MB, free: 4.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.3568, allocations: 142.6 kB / 444.3 MB, free: 4.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.3569, allocations: 337.9 kB / 444.7 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006041/0.3575, allocations: 257.8 kB / 444.9 MB, free: 3.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007637/0.3583, allocations: 454.2 kB / 445.3 MB, free: 3.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.3597, allocations: 0.7325 MB / 446.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.3598, allocations: 4 kB / 446.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002273/0.362, allocations: 1.113 MB / 447.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.362, allocations: 4 kB / 447.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/0.3622, allocations: 79.98 kB / 447.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/0.3635, allocations: 0.6954 MB / 448 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.3639, allocations: 115.8 kB / 448.1 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.3654, allocations: 1.124 MB / 449.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000815/0.3662, allocations: 91.47 kB / 449.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.019e-05/0.3663, allocations: 40 kB / 449.3 MB, free: 14.96 MB / 366.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.0005321/0.3668, allocations: 289.7 kB / 449.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003006/0.3671, allocations: 218.6 kB / 449.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/0.3694, allocations: 1.054 MB / 450.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.3694, allocations: 8 kB / 450.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3694, allocations: 0 / 450.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.3694, allocations: 3.984 kB / 450.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/0.3708, allocations: 0.9436 MB / 451.8 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001055/0.3709, allocations: 72.11 kB / 451.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/0.3713, allocations: 67.88 kB / 452 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/0.3725, allocations: 0.6633 MB / 452.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.612e-05/0.3726, allocations: 23.92 kB / 452.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.374, allocations: 1.088 MB / 453.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.374, allocations: 0 / 453.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002797/0.3768, allocations: 1.323 MB / 455.1 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000585/0.3774, allocations: 218.5 kB / 455.3 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.3776, allocations: 15.94 kB / 455.3 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004501/0.378, allocations: 35.95 kB / 455.3 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.3781, allocations: 52.34 kB / 455.4 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/0.3782, allocations: 24 kB / 455.4 MB, free: 8.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001348/0.3796, allocations: 0.9449 MB / 456.4 MB, free: 7.785 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3796, allocations: 0 / 456.4 MB, free: 7.785 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009801/0.3805, allocations: 435 kB / 456.8 MB, free: 7.359 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.0009185/0.3815, allocations: 479.5 kB / 457.3 MB, free: 6.879 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002056/0.3835, allocations: 0.8157 MB / 458.1 MB, free: 6.055 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.3835, allocations: 7.938 kB / 458.1 MB, free: 6.047 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.3847, allocations: 490 kB / 458.6 MB, free: 5.555 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008757/0.3856, allocations: 183 kB / 458.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005956/0.3915, allocations: 3.121 MB / 461.9 MB, free: 2.203 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009081/0.3924, allocations: 1.216 MB / 463.1 MB, free: 0.957 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.3926, allocations: 79.42 kB / 463.2 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of SimCode: time 1.472e-06/0.3927, allocations: 4 kB / 463.2 MB, free: 0.875 MB / 366.1 MB Notification: Performance of Templates: time 0.03703/0.4297, allocations: 25 MB / 488.2 MB, free: 7.828 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: 8.817770658992231]