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.00135/0.00135, allocations: 112.2 kB / 17.74 MB, free: 5.355 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.00138/0.00138, allocations: 187.1 kB / 18.67 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009743/0.0009744, allocations: 43.92 kB / 352 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2398, allocations: 49.43 MB / 401.4 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007978/0.2478, allocations: 8.32 MB / 409.7 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.2616, allocations: 11.29 MB / 421 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.2631, allocations: 59.5 kB / 421.1 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002421/0.2655, allocations: 0.8417 MB / 421.9 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004025/0.2696, allocations: 1.227 MB / 423.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.2715, allocations: 0.6934 MB / 423.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003953/0.2755, allocations: 2.705 MB / 426.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004935/0.276, allocations: 349.7 kB / 426.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006513/0.2767, allocations: 0.5637 MB / 427.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006525/0.2773, allocations: 0.6133 MB / 428.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.2775, allocations: 67.94 kB / 428.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.279, allocations: 0.7844 MB / 428.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.2792, allocations: 210.7 kB / 429.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005664/0.2798, allocations: 0.7725 MB / 429.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002052/0.2818, allocations: 2.113 MB / 432 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2818, allocations: 0 / 432 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2819, allocations: 0 / 432 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.976e-05/0.2819, allocations: 4 kB / 432 MB, free: 10.31 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.003035/0.2849, allocations: 2.215 MB / 434.2 MB, free: 8.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.285, allocations: 8.031 kB / 434.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002598/0.2852, allocations: 226.3 kB / 434.4 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.2869, allocations: 1.297 MB / 435.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.2869, allocations: 49.23 kB / 435.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.2871, allocations: 52 kB / 435.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.2884, allocations: 0.69 MB / 436.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.2884, allocations: 0 / 436.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.996e-05/0.2885, allocations: 24 kB / 436.6 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.2885, allocations: 19.98 kB / 436.6 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.2898, allocations: 0.5634 MB / 437.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003362/0.2932, allocations: 2.514 MB / 439.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.2944, allocations: 0.6348 MB / 440.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008591/0.2953, allocations: 0.5455 MB / 440.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008448/0.3037, allocations: 7.488 MB / 448.3 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008048/0.3046, allocations: 389.8 kB / 448.7 MB, free: 8.164 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 2.374e-06/0.3046, allocations: 0 / 448.7 MB, free: 8.164 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.006112/0.3107, allocations: 2.074 MB / 450.8 MB, free: 6.059 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/0.3108, allocations: 89.53 kB / 450.9 MB, free: 5.953 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.3125, allocations: 1.435 MB / 452.3 MB, free: 4.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.522e-05/0.3125, allocations: 37.7 kB / 452.3 MB, free: 4.438 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006408/0.3132, allocations: 0.7977 MB / 453.1 MB, free: 3.633 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.3134, allocations: 232.7 kB / 453.4 MB, free: 3.402 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.3136, allocations: 134.6 kB / 453.5 MB, free: 3.262 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3137, allocations: 334 kB / 453.8 MB, free: 2.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005899/0.3143, allocations: 257.8 kB / 454.1 MB, free: 2.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007051/0.315, allocations: 450.9 kB / 454.5 MB, free: 2.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.3164, allocations: 0.7402 MB / 455.3 MB, free: 1.336 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.3164, allocations: 4 kB / 455.3 MB, free: 1.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002046/0.3184, allocations: 1.132 MB / 456.4 MB, free: 196 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3185, allocations: 8.094 kB / 456.4 MB, free: 188 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001118/0.3186, allocations: 79.98 kB / 456.5 MB, free: 108 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/0.3197, allocations: 0.6913 MB / 457.2 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/0.3203, allocations: 111.8 kB / 457.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001444/0.3218, allocations: 1.132 MB / 458.4 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006947/0.3225, allocations: 91.23 kB / 458.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.654e-05/0.3226, allocations: 40 kB / 458.5 MB, free: 14.02 MB / 382.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.0004577/0.323, allocations: 289.7 kB / 458.8 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.3232, allocations: 201.6 kB / 459 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002291/0.3255, allocations: 1.084 MB / 460.1 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.3256, allocations: 4 kB / 460.1 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3256, allocations: 3.938 kB / 460.1 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.3256, allocations: 3.984 kB / 460.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.3267, allocations: 0.9679 MB / 461.1 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001032/0.3268, allocations: 71.98 kB / 461.1 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/0.3272, allocations: 63.88 kB / 461.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001101/0.3283, allocations: 0.6751 MB / 461.9 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.771e-05/0.3284, allocations: 27.98 kB / 461.9 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.3296, allocations: 1.084 MB / 463 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3296, allocations: 0 / 463 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002562/0.3322, allocations: 1.355 MB / 464.4 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003669/0.3326, allocations: 278.6 kB / 464.6 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/0.3327, allocations: 19.92 kB / 464.6 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005176/0.3333, allocations: 31.97 kB / 464.7 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.3334, allocations: 48.38 kB / 464.7 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-05/0.3335, allocations: 23.98 kB / 464.7 MB, free: 7.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001169/0.3346, allocations: 0.9488 MB / 465.7 MB, free: 6.676 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3346, allocations: 0 / 465.7 MB, free: 6.676 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009081/0.3356, allocations: 431.4 kB / 466.1 MB, free: 6.254 MB / 382.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.0007989/0.3364, allocations: 492.2 kB / 466.6 MB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002079/0.3385, allocations: 0.8546 MB / 467.5 MB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3385, allocations: 0 / 467.5 MB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.3397, allocations: 0.5292 MB / 468 MB, free: 4.359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009755/0.3407, allocations: 200.4 kB / 468.2 MB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005321/0.346, allocations: 3.068 MB / 471.2 MB, free: 1.047 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007261/0.3468, allocations: 1.216 MB / 472.5 MB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.3469, allocations: 79.38 kB / 472.5 MB, free: 15.72 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.347, allocations: 4 kB / 472.5 MB, free: 15.72 MB / 398.1 MB Notification: Performance of Templates: time 0.0314/0.3784, allocations: 24.93 MB / 497.5 MB, free: 6.789 MB / 414.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