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.00138/0.00138, allocations: 113.3 kB / 18.4 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.001321/0.001321, allocations: 189.3 kB / 19.33 MB, free: 3.781 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.349/1.349, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001208/0.001208, allocations: 43.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08658/0.0878, allocations: 46.61 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.2077/0.2956, allocations: 8.173 MB / 384 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01301/0.3086, allocations: 10.96 MB / 394.9 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001963/0.3107, allocations: 59.88 kB / 395 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00281/0.3135, allocations: 0.8193 MB / 395.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005854/0.3194, allocations: 1.213 MB / 397 MB, free: 172 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002718/0.3221, allocations: 0.6877 MB / 397.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005321/0.3275, allocations: 2.653 MB / 400.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007241/0.3282, allocations: 350.7 kB / 400.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.3294, allocations: 0.5346 MB / 401.3 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009198/0.3303, allocations: 0.6206 MB / 401.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.3305, allocations: 66.5 kB / 401.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002437/0.3329, allocations: 0.7095 MB / 402.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.3332, allocations: 223.6 kB / 402.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008966/0.3341, allocations: 0.764 MB / 403.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003644/0.3377, allocations: 2.121 MB / 405.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3378, allocations: 0 / 405.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3378, allocations: 0 / 405.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.971e-05/0.3378, allocations: 1.125 kB / 405.8 MB, free: 12.38 MB / 334.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.004281/0.3421, allocations: 2.211 MB / 408 MB, free: 10.92 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.3422, allocations: 13.56 kB / 408 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003307/0.3425, allocations: 218.2 kB / 408.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/0.3445, allocations: 1.306 MB / 409.5 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/0.3446, allocations: 38.5 kB / 409.5 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.3447, allocations: 60.77 kB / 409.6 MB, free: 9.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.346, allocations: 0.6953 MB / 410.3 MB, free: 9.352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.3461, allocations: 0 / 410.3 MB, free: 9.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-05/0.3461, allocations: 21.09 kB / 410.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.3461, allocations: 17.72 kB / 410.3 MB, free: 9.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.3474, allocations: 0.5692 MB / 410.9 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004054/0.3515, allocations: 2.511 MB / 413.4 MB, free: 7.133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.3528, allocations: 0.6131 MB / 414 MB, free: 6.785 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009211/0.3537, allocations: 0.5409 MB / 414.6 MB, free: 6.492 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009247/0.363, allocations: 7.489 MB / 422.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008148/0.3638, allocations: 385 kB / 422.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 3.347e-06/0.3639, allocations: 0 / 422.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.00596/0.3698, allocations: 2.089 MB / 424.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.3699, allocations: 93.48 kB / 424.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/0.3718, allocations: 1.435 MB / 426 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.705e-05/0.3719, allocations: 37.7 kB / 426.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006597/0.3725, allocations: 0.7977 MB / 426.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.3727, allocations: 228.7 kB / 427.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.3729, allocations: 134.6 kB / 427.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3731, allocations: 337.9 kB / 427.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005895/0.3737, allocations: 257.8 kB / 427.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007001/0.3744, allocations: 455.2 kB / 428.3 MB, free: 9.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.3757, allocations: 0.7324 MB / 429 MB, free: 8.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.3757, allocations: 8 kB / 429 MB, free: 8.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002085/0.3778, allocations: 1.128 MB / 430.1 MB, free: 7.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.3778, allocations: 8 kB / 430.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001069/0.378, allocations: 79.98 kB / 430.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.3791, allocations: 0.6914 MB / 430.9 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.3795, allocations: 111.8 kB / 431 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.3808, allocations: 1.13 MB / 432.1 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009144/0.3818, allocations: 91.3 kB / 432.2 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.289e-05/0.3819, allocations: 32 kB / 432.3 MB, free: 5.305 MB / 350.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.0005159/0.3824, allocations: 293.6 kB / 432.6 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.3826, allocations: 205.6 kB / 432.8 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.3847, allocations: 1.095 MB / 433.8 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.3848, allocations: 4 kB / 433.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3848, allocations: 0 / 433.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.3848, allocations: 0 / 433.9 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.3861, allocations: 0.9833 MB / 434.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.864e-05/0.3862, allocations: 67.98 kB / 434.9 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/0.3865, allocations: 59.95 kB / 435 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001077/0.3876, allocations: 0.6672 MB / 435.6 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.439e-05/0.3877, allocations: 26.42 kB / 435.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/0.3889, allocations: 1.096 MB / 436.8 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.389, allocations: 0 / 436.8 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002682/0.3916, allocations: 1.347 MB / 438.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005021/0.3922, allocations: 282.6 kB / 438.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.3923, allocations: 15.98 kB / 438.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004612/0.3928, allocations: 31.91 kB / 438.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.393, allocations: 48.38 kB / 438.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.588e-05/0.393, allocations: 23.98 kB / 438.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001265/0.3943, allocations: 0.9565 MB / 439.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3943, allocations: 0 / 439.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00117/0.3955, allocations: 431.4 kB / 439.9 MB, free: 13.52 MB / 366.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.0008105/0.3963, allocations: 483.4 kB / 440.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002173/0.3985, allocations: 0.8544 MB / 441.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3985, allocations: 0 / 441.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.3997, allocations: 0.5253 MB / 441.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008736/0.4006, allocations: 181.3 kB / 441.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005409/0.406, allocations: 3.057 MB / 445 MB, free: 8.363 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008705/0.4069, allocations: 1.22 MB / 446.2 MB, free: 7.113 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.407, allocations: 75.44 kB / 446.2 MB, free: 7.039 MB / 366.1 MB Notification: Performance of SimCode: time 7.31e-07/0.407, allocations: 0 / 446.2 MB, free: 7.039 MB / 366.1 MB Notification: Performance of Templates: time 0.03245/0.4395, allocations: 24.96 MB / 471.2 MB, free: 14.05 MB / 398.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","/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