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.001291/0.001291, allocations: 107.3 kB / 17.69 MB, free: 5.496 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.00102/0.00102, allocations: 184.8 kB / 18.62 MB, free: 4.578 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.288/1.288, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 39.94 kB / 351.9 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2337, allocations: 49.43 MB / 401.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008157/0.2419, allocations: 8.325 MB / 409.7 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01246/0.2544, allocations: 11.29 MB / 421 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.2555, allocations: 59.56 kB / 421 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001984/0.2576, allocations: 0.8416 MB / 421.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003491/0.2611, allocations: 1.223 MB / 423.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.2629, allocations: 0.6974 MB / 423.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003805/0.2667, allocations: 2.705 MB / 426.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004844/0.2672, allocations: 345.8 kB / 426.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006686/0.2679, allocations: 0.5559 MB / 427.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000612/0.2685, allocations: 0.6211 MB / 428 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.2686, allocations: 68 kB / 428.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.2703, allocations: 0.7805 MB / 428.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.2705, allocations: 218.7 kB / 429.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006575/0.2712, allocations: 0.7686 MB / 429.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002218/0.2734, allocations: 2.117 MB / 431.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2734, allocations: 0 / 431.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2735, allocations: 0 / 431.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.212e-05/0.2735, allocations: 0 / 431.9 MB, free: 10.3 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.003143/0.2766, allocations: 2.207 MB / 434.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2767, allocations: 12.03 kB / 434.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002473/0.2769, allocations: 222.3 kB / 434.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/0.2787, allocations: 1.301 MB / 435.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/0.2787, allocations: 41.25 kB / 435.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.2788, allocations: 56 kB / 435.8 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.2801, allocations: 0.6978 MB / 436.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.2801, allocations: 0 / 436.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.954e-05/0.2802, allocations: 20 kB / 436.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.2802, allocations: 19.98 kB / 436.5 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.2815, allocations: 0.5673 MB / 437.1 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003513/0.285, allocations: 2.51 MB / 439.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.2863, allocations: 0.6349 MB / 440.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008884/0.2872, allocations: 0.5455 MB / 440.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008526/0.2957, allocations: 7.488 MB / 448.3 MB, free: 8.547 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007847/0.2965, allocations: 393.8 kB / 448.6 MB, free: 8.148 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 3.366e-06/0.2966, allocations: 0 / 448.6 MB, free: 8.148 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.005673/0.3022, allocations: 2.074 MB / 450.7 MB, free: 6.043 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.3024, allocations: 93.53 kB / 450.8 MB, free: 5.934 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.3041, allocations: 1.431 MB / 452.2 MB, free: 4.465 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.03e-05/0.3042, allocations: 37.7 kB / 452.3 MB, free: 4.422 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006288/0.3048, allocations: 0.8055 MB / 453.1 MB, free: 3.609 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.305, allocations: 220.8 kB / 453.3 MB, free: 3.391 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.3052, allocations: 138.6 kB / 453.4 MB, free: 3.246 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3053, allocations: 338 kB / 453.8 MB, free: 2.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00058/0.3059, allocations: 249.8 kB / 454 MB, free: 2.668 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007191/0.3067, allocations: 462.9 kB / 454.5 MB, free: 2.137 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.308, allocations: 0.7324 MB / 455.2 MB, free: 1.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.308, allocations: 4 kB / 455.2 MB, free: 1.316 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002043/0.31, allocations: 1.132 MB / 456.3 MB, free: 180 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.3101, allocations: 8 kB / 456.3 MB, free: 172 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000102/0.3102, allocations: 75.98 kB / 456.4 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.3114, allocations: 0.6992 MB / 457.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004513/0.3118, allocations: 107.9 kB / 457.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.3131, allocations: 1.132 MB / 458.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007037/0.3139, allocations: 91.19 kB / 458.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.561e-05/0.3139, allocations: 40 kB / 458.5 MB, free: 14 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.0005071/0.3145, allocations: 287.2 kB / 458.8 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.3147, allocations: 205.6 kB / 459 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/0.3169, allocations: 1.084 MB / 460 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.3169, allocations: 4 kB / 460 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.317, allocations: 7.938 kB / 460.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.974e-06/0.317, allocations: 3.984 kB / 460.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.3181, allocations: 0.9678 MB / 461 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.496e-05/0.3182, allocations: 71.98 kB / 461.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.3186, allocations: 56.06 kB / 461.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001027/0.3196, allocations: 0.6711 MB / 461.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.954e-05/0.3197, allocations: 31.86 kB / 461.9 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/0.3209, allocations: 1.084 MB / 462.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3209, allocations: 3.984 kB / 462.9 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002484/0.3234, allocations: 1.355 MB / 464.3 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000414/0.3238, allocations: 278.6 kB / 464.6 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.324, allocations: 15.94 kB / 464.6 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004493/0.3244, allocations: 35.95 kB / 464.6 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.3246, allocations: 44.38 kB / 464.7 MB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-05/0.3246, allocations: 27.94 kB / 464.7 MB, free: 7.629 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001195/0.3258, allocations: 0.9527 MB / 465.6 MB, free: 6.656 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3258, allocations: 3.938 kB / 465.6 MB, free: 6.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008969/0.3267, allocations: 427.4 kB / 466.1 MB, free: 6.234 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.0007674/0.3275, allocations: 484.6 kB / 466.5 MB, free: 5.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001976/0.3295, allocations: 0.8545 MB / 467.4 MB, free: 4.891 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3295, allocations: 0 / 467.4 MB, free: 4.891 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.3307, allocations: 0.5253 MB / 467.9 MB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009954/0.3317, allocations: 207 kB / 468.1 MB, free: 4.141 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004967/0.3367, allocations: 3.064 MB / 471.2 MB, free: 1.031 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006394/0.3373, allocations: 1.216 MB / 472.4 MB, free: 15.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.3375, allocations: 83.38 kB / 472.5 MB, free: 15.7 MB / 398.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3375, allocations: 0 / 472.5 MB, free: 15.7 MB / 398.1 MB Notification: Performance of Templates: time 0.02932/0.3669, allocations: 24.8 MB / 497.3 MB, free: 6.914 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