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.001789/0.001789, allocations: 117 kB / 18.41 MB, free: 4.664 MB / 14.72 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.002051/0.002051, allocations: 186.9 kB / 21.34 MB, free: 1.738 MB / 14.72 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.412/1.412, allocations: 222.9 MB / 247 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001652/0.001652, allocations: 51.91 kB / 358.7 MB, free: 8.309 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09835/0.1, allocations: 49.44 MB / 408.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009658/0.1097, allocations: 8.308 MB / 416.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01527/0.125, allocations: 11.3 MB / 427.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001798/0.1269, allocations: 55.56 kB / 427.8 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002612/0.1295, allocations: 0.8404 MB / 428.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004622/0.1342, allocations: 1.231 MB / 429.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002165/0.1364, allocations: 0.6973 MB / 430.5 MB, free: 300 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.225/0.3614, allocations: 2.678 MB / 433.2 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005179/0.3619, allocations: 355.5 kB / 433.6 MB, free: 6.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007475/0.3627, allocations: 0.5569 MB / 434.1 MB, free: 5.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006674/0.3634, allocations: 0.6218 MB / 434.7 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001764/0.3635, allocations: 66.59 kB / 434.8 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.3654, allocations: 0.7782 MB / 435.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.3656, allocations: 222.9 kB / 435.8 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000645/0.3662, allocations: 0.7701 MB / 436.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002778/0.369, allocations: 2.131 MB / 438.7 MB, free: 4.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.369, allocations: 1.156 kB / 438.7 MB, free: 4.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.369, allocations: 0.9375 kB / 438.7 MB, free: 4.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.642e-05/0.3691, allocations: 0 / 438.7 MB, free: 4.938 MB / 350.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.003384/0.3725, allocations: 2.283 MB / 441 MB, free: 3.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.3725, allocations: 8.75 kB / 441 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002767/0.3728, allocations: 231.7 kB / 441.2 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/0.3746, allocations: 1.318 MB / 442.5 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/0.3747, allocations: 41.44 kB / 442.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.801e-05/0.3748, allocations: 60.12 kB / 442.6 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.3761, allocations: 0.6906 MB / 443.3 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.3761, allocations: 3.938 kB / 443.3 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.025e-05/0.3762, allocations: 24.64 kB / 443.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.3762, allocations: 16.08 kB / 443.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.3775, allocations: 0.5731 MB / 444 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004108/0.3816, allocations: 2.513 MB / 446.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.3829, allocations: 0.626 MB / 447.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008131/0.3837, allocations: 0.5359 MB / 447.6 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009314/0.393, allocations: 7.503 MB / 455.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007952/0.3938, allocations: 380.6 kB / 455.5 MB, free: 11.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 3.176e-06/0.3939, allocations: 0 / 455.5 MB, free: 11.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.006308/0.4002, allocations: 2.096 MB / 457.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.176e-05/0.4003, allocations: 89.73 kB / 457.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/0.4022, allocations: 1.436 MB / 459.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.758e-05/0.4023, allocations: 36.42 kB / 459.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006663/0.403, allocations: 0.8006 MB / 460 MB, free: 10.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000249/0.4032, allocations: 241.9 kB / 460.2 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.4034, allocations: 142.9 kB / 460.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.4036, allocations: 340.3 kB / 460.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005959/0.4042, allocations: 254.5 kB / 460.9 MB, free: 10.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007643/0.405, allocations: 455.1 kB / 461.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.4064, allocations: 0.7353 MB / 462.1 MB, free: 9.625 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.4064, allocations: 2.438 kB / 462.1 MB, free: 9.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002219/0.4086, allocations: 1.146 MB / 463.2 MB, free: 9.156 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.4087, allocations: 7.812 kB / 463.3 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-05/0.4088, allocations: 73.22 kB / 463.3 MB, free: 9.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.41, allocations: 0.7004 MB / 464 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004737/0.4105, allocations: 117.3 kB / 464.1 MB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.412, allocations: 1.121 MB / 465.3 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009898/0.413, allocations: 89.78 kB / 465.3 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.663e-05/0.4131, allocations: 40.03 kB / 465.4 MB, free: 8.062 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.0005698/0.4137, allocations: 285.7 kB / 465.7 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/0.4139, allocations: 210.1 kB / 465.9 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/0.4163, allocations: 1.093 MB / 467 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.4163, allocations: 6.219 kB / 467 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4163, allocations: 0 / 467 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.4163, allocations: 11.92 kB / 467 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.4179, allocations: 0.9706 MB / 468 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.338e-05/0.418, allocations: 71.11 kB / 468 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.4183, allocations: 63 kB / 468.1 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/0.4194, allocations: 0.6617 MB / 468.7 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.199e-05/0.4195, allocations: 22.58 kB / 468.8 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/0.4209, allocations: 1.093 MB / 469.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4209, allocations: 0 / 469.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003027/0.4239, allocations: 1.366 MB / 471.2 MB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000628/0.4246, allocations: 291.7 kB / 471.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/0.4247, allocations: 8 kB / 471.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004743/0.4252, allocations: 35.97 kB / 471.6 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.4254, allocations: 52.31 kB / 471.6 MB, free: 3.586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.943e-05/0.4254, allocations: 27.98 kB / 471.6 MB, free: 3.559 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001368/0.4268, allocations: 0.9449 MB / 472.6 MB, free: 2.594 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4268, allocations: 4 kB / 472.6 MB, free: 2.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00108/0.4279, allocations: 427 kB / 473 MB, free: 2.172 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.0008472/0.4287, allocations: 490.5 kB / 473.5 MB, free: 1.738 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002118/0.4309, allocations: 0.8578 MB / 474.3 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.4309, allocations: 4.875 kB / 474.3 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.4321, allocations: 0.5196 MB / 474.9 MB, free: 364 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.4332, allocations: 214.2 kB / 475.1 MB, free: 152 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005632/0.4388, allocations: 3.114 MB / 478.2 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008651/0.4397, allocations: 1.22 MB / 479.4 MB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.4399, allocations: 75.44 kB / 479.5 MB, free: 11.69 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4399, allocations: 0 / 479.5 MB, free: 11.69 MB / 382.1 MB Notification: Performance of Templates: time 0.03522/0.4752, allocations: 24.95 MB / 0.4926 GB, free: 2.785 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkDifferentialPair/Spice3BenchmarkDifferentialPair.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.986185808083974]