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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008501/0.0008501, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008946/0.0008946, allocations: 162.8 kB / 25.45 MB, free: 8.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9109/0.9109, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 299.7 MB, free: 6.922 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.825e-05, allocations: 2.281 kB / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.00699/0.007018, allocations: 7.021 MB / 306.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.01902, allocations: 9.519 MB / 316.2 MB, free: 6.301 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/0.02091, allocations: 87.06 kB / 316.3 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002388/0.0233, allocations: 0.7573 MB / 317.1 MB, free: 5.453 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003707/0.027, allocations: 1.275 MB / 318.4 MB, free: 4.168 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.02863, allocations: 0.7068 MB / 319.1 MB, free: 3.457 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003029/0.03165, allocations: 2.737 MB / 321.8 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003749/0.03203, allocations: 214.2 kB / 322 MB, free: 492 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008828/0.03291, allocations: 0.7832 MB / 322.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004156/0.03333, allocations: 434.4 kB / 323.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.168e-05/0.03341, allocations: 68 kB / 323.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.03474, allocations: 0.6752 MB / 324 MB, free: 14.53 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.03487, allocations: 230.5 kB / 324.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003788/0.03525, allocations: 438.7 kB / 324.6 MB, free: 13.87 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001955/0.03721, allocations: 2.161 MB / 326.8 MB, free: 11.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.03721, allocations: 0 / 326.8 MB, free: 11.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.03722, allocations: 0 / 326.8 MB, free: 11.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.688e-05/0.03724, allocations: 3.938 kB / 326.8 MB, free: 11.7 MB / 314.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.002185/0.03943, allocations: 2.19 MB / 329 MB, free: 9.465 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.03947, allocations: 8.031 kB / 329 MB, free: 9.457 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/0.03967, allocations: 239.5 kB / 329.2 MB, free: 9.223 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.04094, allocations: 1.218 MB / 330.4 MB, free: 7.922 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.04097, allocations: 45.44 kB / 330.5 MB, free: 7.879 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.569e-05/0.04105, allocations: 52 kB / 330.5 MB, free: 7.828 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008153/0.04186, allocations: 0.7151 MB / 331.2 MB, free: 7.094 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.04188, allocations: 0 / 331.2 MB, free: 7.094 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.209e-05/0.04192, allocations: 31.98 kB / 331.3 MB, free: 7.062 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.04193, allocations: 12 kB / 331.3 MB, free: 7.051 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007258/0.04266, allocations: 0.5712 MB / 331.9 MB, free: 6.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.04489, allocations: 2.241 MB / 334.1 MB, free: 4.133 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007034/0.0456, allocations: 0.5876 MB / 334.7 MB, free: 3.527 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004955/0.04609, allocations: 490.2 kB / 335.2 MB, free: 3.047 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003881/0.04997, allocations: 2.912 MB / 338.1 MB, free: 116 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005143/0.05049, allocations: 387 kB / 338.5 MB, free: 15.72 MB / 330.7 MB Notification: Performance of pre-optimization done (n=67): time 2.965e-06/0.05049, allocations: 0 / 338.5 MB, free: 15.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=67): time 0.003252/0.05374, allocations: 1.966 MB / 340.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.0538, allocations: 97.59 kB / 340.5 MB, free: 13.63 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.05501, allocations: 1.443 MB / 342 MB, free: 12.15 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.05505, allocations: 37.7 kB / 342 MB, free: 12.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004599/0.05551, allocations: 0.7867 MB / 342.8 MB, free: 11.31 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.05564, allocations: 234 kB / 343 MB, free: 11.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.05577, allocations: 138.6 kB / 343.1 MB, free: 10.94 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.05586, allocations: 337.9 kB / 343.5 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003316/0.05619, allocations: 257.8 kB / 343.7 MB, free: 10.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004134/0.0566, allocations: 475.9 kB / 344.2 MB, free: 9.797 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007687/0.05737, allocations: 0.7365 MB / 344.9 MB, free: 8.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.05737, allocations: 4 kB / 344.9 MB, free: 8.977 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001217/0.05859, allocations: 1.121 MB / 346.1 MB, free: 7.844 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.05861, allocations: 8 kB / 346.1 MB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.165e-05/0.05867, allocations: 75.98 kB / 346.1 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007378/0.05941, allocations: 0.6925 MB / 346.8 MB, free: 7.066 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.05966, allocations: 111.8 kB / 346.9 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008682/0.06052, allocations: 1.133 MB / 348.1 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/0.06088, allocations: 87.53 kB / 348.2 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.632e-05/0.06093, allocations: 36 kB / 348.2 MB, free: 5.676 MB / 330.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 (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.0003607/0.06129, allocations: 289.7 kB / 348.5 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/0.06142, allocations: 206.7 kB / 348.7 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.06272, allocations: 1.066 MB / 349.7 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.06273, allocations: 4 kB / 349.7 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.06274, allocations: 0 / 349.7 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.06274, allocations: 0 / 349.7 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007078/0.06345, allocations: 0.806 MB / 350.5 MB, free: 3.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.008e-05/0.0635, allocations: 68 kB / 350.6 MB, free: 3.184 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.06368, allocations: 67.88 kB / 350.7 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006886/0.06437, allocations: 0.6476 MB / 351.3 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.0644, allocations: 28.12 kB / 351.4 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008126/0.06521, allocations: 1.089 MB / 352.4 MB, free: 1.328 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.06521, allocations: 0 / 352.4 MB, free: 1.328 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.139/0.2042, allocations: 1.331 MB / 353.8 MB, free: 62.7 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006126/0.2048, allocations: 212.8 kB / 354 MB, free: 62.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.205, allocations: 9.5 kB / 354 MB, free: 62.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003152/0.2053, allocations: 33.19 kB / 354 MB, free: 62.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.2054, allocations: 50.7 kB / 354.1 MB, free: 62.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.187e-05/0.2055, allocations: 31.55 kB / 354.1 MB, free: 62.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001272/0.2068, allocations: 0.9471 MB / 355.1 MB, free: 62.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2068, allocations: 0 / 355.1 MB, free: 62.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008657/0.2076, allocations: 433.4 kB / 355.5 MB, free: 62.55 MB / 330.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 (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.0007885/0.2084, allocations: 0.5062 MB / 356 MB, free: 62.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.2099, allocations: 0.8068 MB / 356.8 MB, free: 62.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.2099, allocations: 0 / 356.8 MB, free: 62.2 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007073/0.2106, allocations: 499.5 kB / 357.3 MB, free: 62.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006583/0.2113, allocations: 184.8 kB / 357.5 MB, free: 61.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004118/0.2154, allocations: 2.996 MB / 360.5 MB, free: 60.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006398/0.216, allocations: 0.6364 MB / 361.1 MB, free: 60.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.2162, allocations: 82.22 kB / 361.2 MB, free: 60.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.563e-06/0.2162, allocations: 0 / 361.2 MB, free: 60.48 MB / 330.7 MB Notification: Performance of Templates: time 0.0261/0.2423, allocations: 25.81 MB / 387 MB, free: 39.22 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkDifferentialPair/Spice3BenchmarkDifferentialPair.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.868294483982027]