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.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 3.2.3+maint.om/package.mo", uses=false) 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.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_3.2.3_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_3.2.3_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.00109/0.00109, allocations: 109.4 kB / 18.34 MB, free: 4.699 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.001171/0.001171, allocations: 192.1 kB / 19.28 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 47.94 kB / 282.1 MB, free: 2.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08342/0.08459, allocations: 46.62 MB / 328.7 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008245/0.09288, allocations: 8.179 MB / 336.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.1053, allocations: 10.95 MB / 347.8 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.1064, allocations: 59.5 kB / 347.9 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.1082, allocations: 0.8287 MB / 348.7 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002905/0.1111, allocations: 1.211 MB / 349.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.1127, allocations: 0.6856 MB / 350.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003355/0.1161, allocations: 2.658 MB / 353.3 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004569/0.1165, allocations: 353.7 kB / 353.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006181/0.1172, allocations: 0.5325 MB / 354.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006257/0.1178, allocations: 0.6133 MB / 354.8 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.1179, allocations: 68 kB / 354.8 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.1194, allocations: 0.7104 MB / 355.5 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.1196, allocations: 214.7 kB / 355.8 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006327/0.1202, allocations: 0.7686 MB / 356.5 MB, free: 7.809 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002203/0.1224, allocations: 2.121 MB / 358.6 MB, free: 5.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1224, allocations: 0 / 358.6 MB, free: 5.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1224, allocations: 3.938 kB / 358.6 MB, free: 5.676 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.842e-05/0.1225, allocations: 0 / 358.6 MB, free: 5.676 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.003225/0.1257, allocations: 2.212 MB / 360.9 MB, free: 3.402 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1257, allocations: 12.03 kB / 360.9 MB, free: 3.391 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002482/0.126, allocations: 222.3 kB / 361.1 MB, free: 3.172 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/0.1281, allocations: 1.304 MB / 362.4 MB, free: 1.793 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/0.1282, allocations: 41.31 kB / 362.4 MB, free: 1.754 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.1283, allocations: 56 kB / 362.5 MB, free: 1.699 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.1296, allocations: 0.69 MB / 363.2 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1296, allocations: 0 / 363.2 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.344e-05/0.1296, allocations: 20 kB / 363.2 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.1297, allocations: 23.98 kB / 363.2 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.1309, allocations: 0.5672 MB / 363.8 MB, free: 396 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003497/0.1344, allocations: 2.51 MB / 366.3 MB, free: 13.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.1356, allocations: 0.6232 MB / 366.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008525/0.1365, allocations: 0.5415 MB / 367.5 MB, free: 12.56 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008949/0.1454, allocations: 7.488 MB / 375 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007607/0.1462, allocations: 382 kB / 375.3 MB, free: 3.555 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 3.016e-06/0.1462, allocations: 0 / 375.3 MB, free: 3.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.005634/0.1519, allocations: 2.078 MB / 377.4 MB, free: 1.445 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.152, allocations: 85.55 kB / 377.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1391/0.2911, allocations: 1.431 MB / 378.9 MB, free: 55.3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.2912, allocations: 37 kB / 379 MB, free: 55.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005933/0.2918, allocations: 0.7952 MB / 379.7 MB, free: 54.83 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.292, allocations: 234.4 kB / 380 MB, free: 54.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.2922, allocations: 138.5 kB / 380.1 MB, free: 54.67 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.167e-05/0.2923, allocations: 341.5 kB / 380.4 MB, free: 54.35 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005663/0.2929, allocations: 250.2 kB / 380.7 MB, free: 54.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006052/0.2935, allocations: 455.7 kB / 381.1 MB, free: 53.95 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.2947, allocations: 0.7404 MB / 381.9 MB, free: 53.5 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.2948, allocations: 6.047 kB / 381.9 MB, free: 53.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002116/0.2969, allocations: 1.131 MB / 383 MB, free: 53.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.2969, allocations: 7.922 kB / 383 MB, free: 53.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001049/0.297, allocations: 75.66 kB / 383.1 MB, free: 53.01 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.2982, allocations: 0.692 MB / 383.8 MB, free: 52.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004484/0.2987, allocations: 115.8 kB / 383.9 MB, free: 52.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001234/0.2999, allocations: 1.128 MB / 385 MB, free: 52.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006541/0.3006, allocations: 88.67 kB / 385.1 MB, free: 52.05 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.318e-05/0.3007, allocations: 38.89 kB / 385.2 MB, free: 52.05 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.0004226/0.3011, allocations: 292 kB / 385.4 MB, free: 51.83 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/0.3013, allocations: 199.1 kB / 385.6 MB, free: 51.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/0.3034, allocations: 1.087 MB / 386.7 MB, free: 51.3 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.3035, allocations: 5.75 kB / 386.7 MB, free: 51.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3035, allocations: 1.188 kB / 386.7 MB, free: 51.3 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.3035, allocations: 2.766 kB / 386.7 MB, free: 51.3 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.3046, allocations: 0.9781 MB / 387.7 MB, free: 50.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.376e-05/0.3047, allocations: 69 kB / 387.8 MB, free: 50.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003223/0.305, allocations: 64.97 kB / 387.8 MB, free: 50.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001139/0.3062, allocations: 0.6668 MB / 388.5 MB, free: 50.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.983e-05/0.3062, allocations: 20.92 kB / 388.5 MB, free: 50.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.3073, allocations: 1.101 MB / 389.6 MB, free: 49.89 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3074, allocations: 0 / 389.6 MB, free: 49.89 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.3096, allocations: 1.363 MB / 391 MB, free: 49.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003636/0.31, allocations: 276 kB / 391.3 MB, free: 49.05 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.3102, allocations: 12.59 kB / 391.3 MB, free: 49.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/0.3106, allocations: 34.98 kB / 391.3 MB, free: 49.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.3107, allocations: 51.05 kB / 391.4 MB, free: 49.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.791e-05/0.3108, allocations: 26.02 kB / 391.4 MB, free: 49.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001084/0.3119, allocations: 0.9508 MB / 392.3 MB, free: 48.64 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3119, allocations: 0 / 392.3 MB, free: 48.64 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008525/0.3127, allocations: 424.3 kB / 392.7 MB, free: 48.59 MB / 318.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.0007/0.3134, allocations: 480.7 kB / 393.2 MB, free: 48.46 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001863/0.3153, allocations: 0.8555 MB / 394.1 MB, free: 48.17 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3153, allocations: 0 / 394.1 MB, free: 48.17 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.3164, allocations: 0.5305 MB / 394.6 MB, free: 47.97 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006713/0.3171, allocations: 181.9 kB / 394.8 MB, free: 47.87 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00398/0.3211, allocations: 3.019 MB / 397.8 MB, free: 46.46 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/0.3216, allocations: 1.218 MB / 399 MB, free: 45.73 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004016/0.322, allocations: 169 kB / 399.2 MB, free: 45.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.3222, allocations: 78.08 kB / 399.3 MB, free: 45.67 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3222, allocations: 0 / 399.3 MB, free: 45.67 MB / 318.1 MB Notification: Performance of Templates: time 0.02206/0.3442, allocations: 16.07 MB / 415.3 MB, free: 29.8 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) 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) Reference file matches