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.0008003/0.0008004, allocations: 91.64 kB / 17.31 MB, free: 6.531 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.000841/0.0008411, allocations: 176 kB / 18.21 MB, free: 5.684 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.122/1.122, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002269/0.000227, allocations: 11.94 kB / 302.1 MB, free: 6.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07139/0.07163, allocations: 50.42 MB / 352.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.005758/0.07742, allocations: 7.821 MB / 360.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00996/0.08739, allocations: 11.37 MB / 371.7 MB, free: 460 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004441/0.08785, allocations: 15.94 kB / 371.7 MB, free: 444 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1273/0.2151, allocations: 0.7486 MB / 372.4 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00362/0.2188, allocations: 1.002 MB / 373.4 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.2204, allocations: 0.511 MB / 374 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003576/0.224, allocations: 2.594 MB / 376.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004328/0.2245, allocations: 324 kB / 376.9 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007888/0.2253, allocations: 0.5025 MB / 377.4 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007939/0.2261, allocations: 0.5815 MB / 378 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.2262, allocations: 41.25 kB / 378 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.2277, allocations: 0.7563 MB / 378.7 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.2279, allocations: 186.5 kB / 378.9 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005657/0.2284, allocations: 0.7571 MB / 379.7 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.2297, allocations: 1.519 MB / 381.2 MB, free: 8.148 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2297, allocations: 0 / 381.2 MB, free: 8.148 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2298, allocations: 2.219 kB / 381.2 MB, free: 8.148 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.2298, allocations: 0 / 381.2 MB, free: 8.148 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.002398/0.2322, allocations: 1.975 MB / 383.2 MB, free: 6.961 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.2322, allocations: 13.84 kB / 383.2 MB, free: 6.957 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.2324, allocations: 222.8 kB / 383.4 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.2337, allocations: 1.309 MB / 384.7 MB, free: 6.312 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.2338, allocations: 39.97 kB / 384.8 MB, free: 6.312 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.416e-05/0.2339, allocations: 64.08 kB / 384.8 MB, free: 6.305 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.235, allocations: 0.7121 MB / 385.5 MB, free: 6.234 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.2351, allocations: 4 kB / 385.5 MB, free: 6.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.385e-05/0.2351, allocations: 25.84 kB / 385.6 MB, free: 6.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.2351, allocations: 17.28 kB / 385.6 MB, free: 6.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.2363, allocations: 0.6206 MB / 386.2 MB, free: 6.211 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002627/0.2389, allocations: 2.509 MB / 388.7 MB, free: 5.059 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.2401, allocations: 0.6681 MB / 389.4 MB, free: 4.777 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008507/0.241, allocations: 0.5684 MB / 390 MB, free: 4.512 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006275/0.2473, allocations: 7.516 MB / 397.5 MB, free: 13.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007207/0.248, allocations: 408.9 kB / 397.9 MB, free: 13 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 1.984e-06/0.248, allocations: 0 / 397.9 MB, free: 13 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.005175/0.2532, allocations: 2.165 MB / 400 MB, free: 11.89 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.2533, allocations: 87.23 kB / 400.1 MB, free: 11.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/0.2547, allocations: 1.437 MB / 401.6 MB, free: 10.99 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.498e-05/0.2547, allocations: 36.8 kB / 401.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005747/0.2553, allocations: 0.7983 MB / 402.4 MB, free: 10.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.2555, allocations: 224 kB / 402.6 MB, free: 10.04 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-05/0.2555, allocations: 68.7 kB / 402.7 MB, free: 9.992 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2557, allocations: 333.6 kB / 403 MB, free: 9.668 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005401/0.2562, allocations: 276.6 kB / 403.3 MB, free: 9.543 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006603/0.2569, allocations: 482.1 kB / 403.7 MB, free: 9.168 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.2582, allocations: 0.7837 MB / 404.5 MB, free: 8.453 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.2582, allocations: 0 / 404.5 MB, free: 8.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001893/0.2601, allocations: 1.191 MB / 405.7 MB, free: 7.258 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.2601, allocations: 8 kB / 405.7 MB, free: 7.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.259e-05/0.2602, allocations: 75.98 kB / 405.8 MB, free: 7.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/0.2613, allocations: 0.6954 MB / 406.5 MB, free: 6.477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004283/0.2617, allocations: 127.8 kB / 406.6 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/0.2629, allocations: 1.121 MB / 407.7 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000558/0.2635, allocations: 107.3 kB / 407.8 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.047e-05/0.2636, allocations: 32 kB / 407.9 MB, free: 5.066 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.0003874/0.264, allocations: 289.6 kB / 408.2 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.2642, allocations: 201.7 kB / 408.4 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/0.2664, allocations: 1.14 MB / 409.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.2664, allocations: 8 kB / 409.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.2664, allocations: 0 / 409.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.2664, allocations: 9.516 kB / 409.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.2675, allocations: 0.9695 MB / 410.5 MB, free: 2.391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.233e-05/0.2676, allocations: 71.98 kB / 410.5 MB, free: 2.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003154/0.2679, allocations: 67.89 kB / 410.6 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/0.2689, allocations: 0.6711 MB / 411.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.301e-05/0.269, allocations: 19.98 kB / 411.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.2701, allocations: 1.084 MB / 412.4 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2701, allocations: 4 kB / 412.4 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002348/0.2725, allocations: 1.421 MB / 413.8 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002999/0.2728, allocations: 278.6 kB / 414.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.2729, allocations: 15.98 kB / 414.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004486/0.2734, allocations: 43.97 kB / 414.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.2735, allocations: 56.3 kB / 414.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/0.2736, allocations: 20 kB / 414.2 MB, free: 14.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001011/0.2746, allocations: 0.9449 MB / 415.2 MB, free: 13.6 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2746, allocations: 7.938 kB / 415.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007995/0.2754, allocations: 431.4 kB / 415.6 MB, free: 13.17 MB / 334.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.0007169/0.2761, allocations: 483.3 kB / 416.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001812/0.278, allocations: 0.9013 MB / 417 MB, free: 11.83 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.278, allocations: 0 / 417 MB, free: 11.83 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.2791, allocations: 0.5449 MB / 417.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008646/0.2799, allocations: 197.8 kB / 417.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004853/0.2848, allocations: 3.671 MB / 421.4 MB, free: 7.367 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006498/0.2855, allocations: 1.228 MB / 422.6 MB, free: 6.109 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.2856, allocations: 71.44 kB / 422.7 MB, free: 6.039 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2856, allocations: 0 / 422.7 MB, free: 6.039 MB / 334.1 MB Notification: Performance of Templates: time 0.02733/0.3129, allocations: 24.64 MB / 447.3 MB, free: 13.42 MB / 366.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