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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 110.2 kB / 17.17 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 194.9 kB / 18.08 MB, free: 5.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.07/2.07, allocations: 222.9 MB / 241.8 MB, free: 15.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 42.94 kB / 300.6 MB, free: 6.359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1547, allocations: 49.45 MB / 350 MB, free: 4.902 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.01549/0.1703, allocations: 8.285 MB / 358.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02447/0.1948, allocations: 11.52 MB / 369.9 MB, free: 1.016 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00247/0.1974, allocations: 15.94 kB / 369.9 MB, free: 1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004495/0.202, allocations: 0.7599 MB / 370.6 MB, free: 244 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2871/0.4891, allocations: 0.9895 MB / 371.6 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003835/0.493, allocations: 0.5085 MB / 372.1 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008986/0.502, allocations: 2.595 MB / 374.7 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.5031, allocations: 321.8 kB / 375 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002611/0.5058, allocations: 0.5222 MB / 375.6 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/0.5075, allocations: 0.6085 MB / 376.2 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004505/0.508, allocations: 50.16 kB / 376.2 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0047/0.5127, allocations: 0.7541 MB / 377 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000601/0.5133, allocations: 196.8 kB / 377.2 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002029/0.5154, allocations: 0.756 MB / 377.9 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003484/0.5189, allocations: 1.542 MB / 379.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.817e-06/0.5189, allocations: 0.7031 kB / 379.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5189, allocations: 0 / 379.5 MB, free: 8.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.171e-05/0.519, allocations: 1.25 kB / 379.5 MB, free: 8.73 MB / 302.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.007021/0.526, allocations: 2.214 MB / 381.7 MB, free: 7.457 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.234e-05/0.5261, allocations: 9.062 kB / 381.7 MB, free: 7.457 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006988/0.5268, allocations: 222.4 kB / 381.9 MB, free: 7.348 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003881/0.5307, allocations: 1.303 MB / 383.2 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.764e-05/0.5308, allocations: 44.91 kB / 383.2 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.531, allocations: 61.12 kB / 383.3 MB, free: 6.824 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/0.5333, allocations: 0.6889 MB / 384 MB, free: 6.711 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.5334, allocations: 1.062 kB / 384 MB, free: 6.711 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-05/0.5335, allocations: 20.03 kB / 384 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.215e-05/0.5336, allocations: 21.23 kB / 384 MB, free: 6.691 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/0.5358, allocations: 0.5672 MB / 384.6 MB, free: 6.516 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006823/0.5426, allocations: 2.513 MB / 387.1 MB, free: 5.027 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.5446, allocations: 0.6246 MB / 387.7 MB, free: 4.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/0.5464, allocations: 0.5378 MB / 388.3 MB, free: 4.516 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01338/0.5598, allocations: 7.504 MB / 395.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00137/0.5612, allocations: 383.9 kB / 396.2 MB, free: 13.4 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 4.398e-06/0.5612, allocations: 1.25 kB / 396.2 MB, free: 13.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.0104/0.5716, allocations: 2.079 MB / 398.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.667e-05/0.5718, allocations: 89.12 kB / 398.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003279/0.5751, allocations: 1.428 MB / 399.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001674/0.5753, allocations: 41.83 kB / 399.8 MB, free: 11.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001263/0.5766, allocations: 0.8035 MB / 400.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003937/0.577, allocations: 228.7 kB / 400.8 MB, free: 10.45 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003755/0.5773, allocations: 138.3 kB / 401 MB, free: 10.38 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.5776, allocations: 332.8 kB / 401.3 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009889/0.5786, allocations: 257.1 kB / 401.5 MB, free: 9.926 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.5798, allocations: 461.4 kB / 402 MB, free: 9.555 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002189/0.582, allocations: 0.7329 MB / 402.7 MB, free: 9.027 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.036e-06/0.582, allocations: 2.656 kB / 402.7 MB, free: 9.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003928/0.5859, allocations: 1.139 MB / 403.9 MB, free: 8.242 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.586, allocations: 8 kB / 403.9 MB, free: 8.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001704/0.5862, allocations: 76.7 kB / 403.9 MB, free: 8.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001972/0.5882, allocations: 0.6953 MB / 404.6 MB, free: 7.461 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007472/0.5889, allocations: 111.8 kB / 404.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.5912, allocations: 1.128 MB / 405.9 MB, free: 6.195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.5927, allocations: 87.23 kB / 406 MB, free: 6.109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.5929, allocations: 40 kB / 406 MB, free: 6.07 MB / 318.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.0009273/0.5938, allocations: 288 kB / 406.3 MB, free: 5.781 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005478/0.5944, allocations: 201.6 kB / 406.5 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003973/0.5984, allocations: 1.085 MB / 407.6 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.5984, allocations: 13.72 kB / 407.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.5984, allocations: 0 / 407.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.5985, allocations: 7.922 kB / 407.6 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/0.6008, allocations: 0.9699 MB / 408.5 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001561/0.601, allocations: 71.98 kB / 408.6 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005801/0.6016, allocations: 59.88 kB / 408.7 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001842/0.6034, allocations: 0.6711 MB / 409.3 MB, free: 2.648 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.459e-05/0.6035, allocations: 19.98 kB / 409.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.6056, allocations: 1.081 MB / 410.4 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.6057, allocations: 8 kB / 410.5 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004628/0.6103, allocations: 1.347 MB / 411.8 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.6114, allocations: 278.8 kB / 412.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003013/0.6117, allocations: 15.94 kB / 412.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008362/0.6125, allocations: 32.81 kB / 412.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/0.6128, allocations: 52.3 kB / 412.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.291e-05/0.6129, allocations: 24 kB / 412.2 MB, free: 15.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002375/0.6153, allocations: 0.9526 MB / 413.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6153, allocations: 4 kB / 413.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001805/0.6171, allocations: 427.4 kB / 413.6 MB, free: 14.33 MB / 334.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.00143/0.6185, allocations: 483.2 kB / 414 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003364/0.6219, allocations: 0.8617 MB / 414.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.6219, allocations: 0 / 414.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001855/0.6238, allocations: 0.5145 MB / 415.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.6259, allocations: 206.4 kB / 415.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00983/0.6358, allocations: 3.58 MB / 419.2 MB, free: 8.703 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/0.6369, allocations: 1.216 MB / 420.4 MB, free: 7.453 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003952/0.6374, allocations: 79.42 kB / 420.5 MB, free: 7.375 MB / 334.1 MB Notification: Performance of SimCode: time 1.373e-06/0.6374, allocations: 0 / 420.5 MB, free: 7.375 MB / 334.1 MB Notification: Performance of Templates: time 0.05664/0.694, allocations: 24.79 MB / 445.3 MB, free: 14.62 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkDifferentialPair/Spice3BenchmarkDifferentialPair.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches