Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001627/0.001626, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.506/2.506, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 94.83 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003985, allocations: 8 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0959/0.09633, allocations: 47.58 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.01012/0.1065, allocations: 6.658 MB / 381.2 MB, free: 8.758 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.378/0.4845, allocations: 9.6 MB / 390.8 MB, free: 8.586 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001991/0.4866, allocations: 16.97 kB / 390.8 MB, free: 8.586 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004887/0.4916, allocations: 0.6901 MB / 391.5 MB, free: 8.586 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007813/0.4994, allocations: 1.071 MB / 392.6 MB, free: 8.574 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003906/0.5034, allocations: 484.5 kB / 393 MB, free: 8.566 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01069/0.5142, allocations: 2.445 MB / 395.5 MB, free: 8.551 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.5156, allocations: 304.2 kB / 395.8 MB, free: 8.461 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001865/0.5175, allocations: 465.7 kB / 396.2 MB, free: 8.461 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002273/0.5198, allocations: 0.5508 MB / 396.8 MB, free: 8.402 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000517/0.5204, allocations: 36.12 kB / 396.8 MB, free: 8.402 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004852/0.5253, allocations: 0.679 MB / 397.5 MB, free: 8.402 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007433/0.5261, allocations: 176.3 kB / 397.7 MB, free: 8.336 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001396/0.5275, allocations: 349.1 kB / 398 MB, free: 8.238 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005464/0.5331, allocations: 1.486 MB / 399.5 MB, free: 8.055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.5331, allocations: 0 / 399.5 MB, free: 8.055 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.252e-06/0.5332, allocations: 0 / 399.5 MB, free: 8.055 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001059/0.5333, allocations: 6.391 kB / 399.5 MB, free: 8.051 MB / 282.7 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.008945/0.5423, allocations: 1.983 MB / 401.5 MB, free: 6.863 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.206e-05/0.5424, allocations: 8.938 kB / 401.5 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.5435, allocations: 225.1 kB / 401.7 MB, free: 6.754 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005166/0.5487, allocations: 1.224 MB / 402.9 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.5489, allocations: 46.69 kB / 403 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003586/0.5493, allocations: 52.88 kB / 403 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003553/0.5528, allocations: 0.7069 MB / 403.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.955e-05/0.5529, allocations: 0.8906 kB / 403.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/0.5531, allocations: 21.62 kB / 403.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.215e-05/0.5532, allocations: 18.17 kB / 403.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003871/0.557, allocations: 0.6124 MB / 404.4 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009538/0.5666, allocations: 2.547 MB / 407 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003471/0.5702, allocations: 0.6663 MB / 407.6 MB, free: 4.973 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01946/0.5897, allocations: 7.538 MB / 415.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002264/0.592, allocations: 406.8 kB / 415.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 6.993e-06/0.5921, allocations: 0 / 415.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=67): time 0.01621/0.6083, allocations: 2.119 MB / 417.7 MB, free: 13.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/0.6085, allocations: 92.69 kB / 417.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004397/0.613, allocations: 1.413 MB / 419.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000258/0.6133, allocations: 38.45 kB / 419.2 MB, free: 12.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001213/0.6145, allocations: 0.7036 MB / 419.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006493/0.6152, allocations: 225.3 kB / 420.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.6154, allocations: 18.53 kB / 420.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002736/0.6157, allocations: 341.1 kB / 420.5 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/0.6175, allocations: 276.9 kB / 420.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002021/0.6195, allocations: 470.7 kB / 421.2 MB, free: 11.33 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/0.6215, allocations: 325.4 kB / 421.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-05/0.6216, allocations: 4.672 kB / 421.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.005434/0.627, allocations: 1.025 MB / 422.6 MB, free: 10.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.658e-05/0.6271, allocations: 8 kB / 422.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002593/0.6274, allocations: 75.92 kB / 422.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003175/0.6306, allocations: 0.6954 MB / 423.3 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.632, allocations: 123.8 kB / 423.5 MB, free: 9.355 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003654/0.6357, allocations: 1.12 MB / 424.6 MB, free: 8.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002451/0.6382, allocations: 99.31 kB / 424.7 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003781/0.6386, allocations: 36 kB / 424.7 MB, free: 8.074 MB / 298.7 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 ($PRE.VCC.counter,VCC.counter,$PRE.VEE.counter,VEE.counter,$whenCondition2,$whenCondition1,$PRE.VCC.T0,VCC.T0,$PRE.VCC.counter2,VCC.counter2,$PRE.VEE.T0,VEE.T0,$PRE.VEE.counter2,VEE.counter2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 26} Notification: Performance of prepare postOptimizeDAE: time 0.001971/0.6407, allocations: 292 kB / 425 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/0.6417, allocations: 201.7 kB / 425.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009053/0.6508, allocations: 1.146 MB / 426.3 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.99e-05/0.6509, allocations: 8 kB / 426.4 MB, free: 6.418 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/0.651, allocations: 0 / 426.4 MB, free: 6.418 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.215e-05/0.651, allocations: 3.984 kB / 426.4 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005042/0.6561, allocations: 0.9714 MB / 427.3 MB, free: 5.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000478/0.6566, allocations: 67.98 kB / 427.4 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/0.658, allocations: 75.88 kB / 427.5 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00631/0.6643, allocations: 0.6597 MB / 428.1 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003518/0.6648, allocations: 20 kB / 428.1 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006678/0.6715, allocations: 1.089 MB / 429.2 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.6716, allocations: 0 / 429.2 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009662/0.6813, allocations: 1.417 MB / 430.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/0.6826, allocations: 287.9 kB / 430.9 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005395/0.6832, allocations: 12 kB / 430.9 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/0.6846, allocations: 47.95 kB / 431 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003263/0.685, allocations: 52.36 kB / 431 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/0.6852, allocations: 31.94 kB / 431.1 MB, free: 1.578 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.003224/0.6884, allocations: 0.9214 MB / 432 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.453e-06/0.6885, allocations: 0 / 432 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00347/0.6919, allocations: 435.4 kB / 432.4 MB, free: 216 kB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.001816/0.6938, allocations: 448.7 kB / 432.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00531/0.6992, allocations: 0.9022 MB / 433.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/0.6992, allocations: 0 / 433.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003136/0.7024, allocations: 0.5427 MB / 434.3 MB, free: 14.35 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.7044, allocations: 171 kB / 434.5 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/0.7181, allocations: 3.461 MB / 437.9 MB, free: 10.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/0.7196, allocations: 1.255 MB / 439.2 MB, free: 9.387 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004562/0.7201, allocations: 83.38 kB / 439.3 MB, free: 9.305 MB / 314.7 MB Notification: Performance of SimCode: time 1.843e-06/0.7201, allocations: 0 / 439.3 MB, free: 9.305 MB / 314.7 MB Notification: Performance of Templates: time 0.0555/0.7756, allocations: 23.7 MB / 463 MB, free: 1.582 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches