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.001324/0.001323, allocations: 114.5 kB / 17.93 MB, free: 5.566 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.001176/0.001176, allocations: 189.9 kB / 18.86 MB, free: 4.645 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.418/1.418, allocations: 205.1 MB / 224.7 MB, free: 12.31 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.00118/0.00118, allocations: 47.92 kB / 280.8 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0851/0.0863, allocations: 46.63 MB / 327.4 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008057/0.0944, allocations: 8.118 MB / 335.6 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01183/0.1063, allocations: 10.84 MB / 346.4 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.1077, allocations: 15.94 kB / 346.4 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002187/0.1099, allocations: 0.7404 MB / 347.1 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004088/0.114, allocations: 1.019 MB / 348.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.116, allocations: 0.6044 MB / 348.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004014/0.1201, allocations: 2.646 MB / 351.4 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000581/0.1207, allocations: 357.7 kB / 351.8 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007195/0.1214, allocations: 0.5208 MB / 352.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000621/0.1221, allocations: 0.6133 MB / 352.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.1222, allocations: 72 kB / 353 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.1239, allocations: 0.7104 MB / 353.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.1241, allocations: 218.7 kB / 353.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000786/0.1249, allocations: 0.7686 MB / 354.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.1266, allocations: 1.57 MB / 356.2 MB, free: 7.832 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1266, allocations: 0 / 356.2 MB, free: 7.832 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1266, allocations: 0 / 356.2 MB, free: 7.832 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.847e-05/0.1266, allocations: 0 / 356.2 MB, free: 7.832 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.00342/0.1301, allocations: 2.211 MB / 358.4 MB, free: 5.559 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.1301, allocations: 12.03 kB / 358.5 MB, free: 5.547 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002756/0.1304, allocations: 226.3 kB / 358.7 MB, free: 5.324 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.1321, allocations: 1.304 MB / 360 MB, free: 3.945 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.1321, allocations: 37.31 kB / 360 MB, free: 3.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.1322, allocations: 59.98 kB / 360.1 MB, free: 3.852 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.1335, allocations: 0.6861 MB / 360.8 MB, free: 3.152 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.1335, allocations: 0 / 360.8 MB, free: 3.152 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.488e-05/0.1336, allocations: 31.98 kB / 360.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.1336, allocations: 23.88 kB / 360.8 MB, free: 3.098 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.1348, allocations: 0.5712 MB / 361.4 MB, free: 2.523 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003387/0.1382, allocations: 2.522 MB / 363.9 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.1394, allocations: 0.6232 MB / 364.5 MB, free: 15.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008173/0.1402, allocations: 0.5376 MB / 365.1 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008634/0.1489, allocations: 7.492 MB / 372.6 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007751/0.1497, allocations: 381.9 kB / 372.9 MB, free: 5.684 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 3.587e-06/0.1497, allocations: 4 kB / 372.9 MB, free: 5.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.00574/0.1554, allocations: 2.078 MB / 375 MB, free: 3.566 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.1555, allocations: 85.55 kB / 375.1 MB, free: 3.465 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/0.1572, allocations: 1.435 MB / 376.5 MB, free: 1.992 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.712e-05/0.1573, allocations: 37.7 kB / 376.6 MB, free: 1.949 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006005/0.1579, allocations: 0.8016 MB / 377.4 MB, free: 1.137 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.1581, allocations: 224.8 kB / 377.6 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.1583, allocations: 142.6 kB / 377.7 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1584, allocations: 333.9 kB / 378.1 MB, free: 448 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005596/0.159, allocations: 253.8 kB / 378.3 MB, free: 192 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.145/0.304, allocations: 457.2 kB / 378.8 MB, free: 54.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.3053, allocations: 0.7376 MB / 379.5 MB, free: 53.9 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.3053, allocations: 2.281 kB / 379.5 MB, free: 53.9 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002022/0.3073, allocations: 1.13 MB / 380.6 MB, free: 53.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.3074, allocations: 10.72 kB / 380.6 MB, free: 53.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001332/0.3075, allocations: 75.33 kB / 380.7 MB, free: 53.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.3086, allocations: 0.703 MB / 381.4 MB, free: 53.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004295/0.3091, allocations: 112.4 kB / 381.5 MB, free: 53.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.3102, allocations: 1.12 MB / 382.6 MB, free: 53.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000633/0.3108, allocations: 88.73 kB / 382.7 MB, free: 53.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.519e-05/0.3109, allocations: 35.44 kB / 382.8 MB, free: 53.14 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.0004005/0.3113, allocations: 289.6 kB / 383 MB, free: 52.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.3115, allocations: 199.6 kB / 383.2 MB, free: 52.88 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/0.3136, allocations: 1.089 MB / 384.3 MB, free: 52.45 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.3136, allocations: 9.094 kB / 384.3 MB, free: 52.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3136, allocations: 1.031 kB / 384.3 MB, free: 52.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3136, allocations: 3.422 kB / 384.3 MB, free: 52.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.3147, allocations: 0.9799 MB / 385.3 MB, free: 51.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.07e-05/0.3148, allocations: 64.97 kB / 385.4 MB, free: 51.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.3151, allocations: 62.16 kB / 385.4 MB, free: 51.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/0.3162, allocations: 0.6724 MB / 386.1 MB, free: 51.83 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/0.3162, allocations: 23.64 kB / 386.1 MB, free: 51.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.3173, allocations: 1.089 MB / 387.2 MB, free: 51.05 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3173, allocations: 1.25 kB / 387.2 MB, free: 51.05 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/0.3196, allocations: 1.356 MB / 388.6 MB, free: 50.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000354/0.32, allocations: 281.8 kB / 388.9 MB, free: 50.22 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.3202, allocations: 13.52 kB / 388.9 MB, free: 50.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004642/0.3206, allocations: 34.88 kB / 388.9 MB, free: 50.21 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.3208, allocations: 48.22 kB / 389 MB, free: 50.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.146e-05/0.3208, allocations: 25 kB / 389 MB, free: 50.2 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001231/0.3221, allocations: 0.948 MB / 389.9 MB, free: 49.81 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3221, allocations: 3.938 kB / 389.9 MB, free: 49.81 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008988/0.323, allocations: 433 kB / 390.4 MB, free: 49.77 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.0007085/0.3237, allocations: 478.8 kB / 390.8 MB, free: 49.65 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001978/0.3257, allocations: 0.86 MB / 391.7 MB, free: 49.36 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3257, allocations: 0 / 391.7 MB, free: 49.36 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.3268, allocations: 0.5319 MB / 392.2 MB, free: 49.15 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007633/0.3275, allocations: 189.3 kB / 392.4 MB, free: 49.05 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004674/0.3322, allocations: 3.579 MB / 396 MB, free: 47.1 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.3327, allocations: 1.221 MB / 397.2 MB, free: 46.36 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.3329, allocations: 77.28 kB / 397.3 MB, free: 46.36 MB / 318.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3329, allocations: 0.6562 kB / 397.3 MB, free: 46.36 MB / 318.1 MB Notification: Performance of Templates: time 0.02421/0.3571, allocations: 24.81 MB / 422.1 MB, free: 22.46 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 -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","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches