Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0006856/0.0006856, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009685/0.001654, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007185/0.0007185, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009178/0.001636, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9516/0.9516, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09188/1.043, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138e-05/1.245e-05, allocations: 6.25 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.005339/0.005351, allocations: 7.826 MB / 252.5 MB, free: 6.363 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01006/0.01541, allocations: 10.8 MB / 263.3 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007135/0.01612, allocations: 87.06 kB / 263.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.01738, allocations: 0.8091 MB / 264.2 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001913/0.0193, allocations: 1.281 MB / 265.5 MB, free: 9.324 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009669/0.02026, allocations: 0.6259 MB / 266.1 MB, free: 8.695 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002105/0.02237, allocations: 2.8 MB / 268.9 MB, free: 5.883 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.02263, allocations: 252.1 kB / 269.2 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.02363, allocations: 1.389 MB / 270.6 MB, free: 4.168 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000406/0.02404, allocations: 494.3 kB / 271.1 MB, free: 3.684 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.296e-05/0.02412, allocations: 68 kB / 271.1 MB, free: 3.617 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.02533, allocations: 0.8068 MB / 271.9 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.02548, allocations: 174.8 kB / 272.1 MB, free: 2.637 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003815/0.02587, allocations: 398.8 kB / 272.5 MB, free: 2.246 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.02737, allocations: 1.494 MB / 274 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.02738, allocations: 0 / 274 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.02738, allocations: 0 / 274 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.0274, allocations: 0 / 274 MB, free: 0.7461 MB / 266.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.1114/0.1388, allocations: 2.597 MB / 276.6 MB, free: 8.484 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.1388, allocations: 9.719 kB / 276.6 MB, free: 8.484 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004034/0.1392, allocations: 198 kB / 276.8 MB, free: 8.484 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.1404, allocations: 1.067 MB / 277.9 MB, free: 7.945 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.1404, allocations: 42.8 kB / 277.9 MB, free: 7.945 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/0.1405, allocations: 59.75 kB / 278 MB, free: 7.945 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000601/0.1411, allocations: 0.5116 MB / 278.5 MB, free: 7.828 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1411, allocations: 3.938 kB / 278.5 MB, free: 7.824 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.32e-05/0.1411, allocations: 22.58 kB / 278.5 MB, free: 7.824 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.1411, allocations: 23.2 kB / 278.5 MB, free: 7.824 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.1414, allocations: 189 kB / 278.7 MB, free: 7.805 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.1431, allocations: 1.556 MB / 280.3 MB, free: 7.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/0.1435, allocations: 360.8 kB / 280.6 MB, free: 7.109 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.1437, allocations: 282.6 kB / 280.9 MB, free: 7.102 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004073/0.1478, allocations: 3.046 MB / 283.9 MB, free: 6.684 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002691/0.1481, allocations: 229.8 kB / 284.2 MB, free: 6.625 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 1.803e-06/0.1481, allocations: 1.125 kB / 284.2 MB, free: 6.625 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.002351/0.1504, allocations: 1.353 MB / 285.5 MB, free: 6.461 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.1505, allocations: 60.89 kB / 285.6 MB, free: 6.395 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006797/0.1511, allocations: 1.311 MB / 286.9 MB, free: 6.172 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.1512, allocations: 36.36 kB / 286.9 MB, free: 6.141 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.1513, allocations: 477.3 kB / 287.4 MB, free: 5.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.503e-05/0.1514, allocations: 236.5 kB / 287.6 MB, free: 5.777 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.1515, allocations: 129.8 kB / 287.7 MB, free: 5.758 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.002e-05/0.1516, allocations: 341.9 kB / 288.1 MB, free: 5.449 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.704e-05/0.1516, allocations: 77.31 kB / 288.1 MB, free: 5.445 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.1518, allocations: 312.5 kB / 288.5 MB, free: 5.191 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.1521, allocations: 462.9 kB / 288.9 MB, free: 4.961 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1521, allocations: 0 / 288.9 MB, free: 4.961 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005027/0.1526, allocations: 0.5984 MB / 289.5 MB, free: 4.891 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1526, allocations: 13.59 kB / 289.5 MB, free: 4.887 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.761e-05/0.1526, allocations: 20.72 kB / 289.5 MB, free: 4.887 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005357/0.1532, allocations: 0.536 MB / 290.1 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.1534, allocations: 122.3 kB / 290.2 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000429/0.1538, allocations: 0.8006 MB / 291 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.1541, allocations: 80.28 kB / 291.1 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.1541, allocations: 24.62 kB / 291.1 MB, free: 4.289 MB / 266.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.0001553/0.1543, allocations: 155.7 kB / 291.2 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.1544, allocations: 147.9 kB / 291.4 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006116/0.155, allocations: 0.6151 MB / 292 MB, free: 4.035 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.155, allocations: 6.688 kB / 292 MB, free: 4.035 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.155, allocations: 0 / 292 MB, free: 4.035 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.155, allocations: 7.891 kB / 292 MB, free: 4.031 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.1555, allocations: 0.5498 MB / 292.6 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.738e-05/0.1555, allocations: 8.609 kB / 292.6 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.1557, allocations: 59.17 kB / 292.6 MB, free: 3.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.1558, allocations: 189.8 kB / 292.8 MB, free: 3.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004951/0.1563, allocations: 0.5188 MB / 293.3 MB, free: 3.777 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.1563, allocations: 14.3 kB / 293.4 MB, free: 3.777 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000373/0.1567, allocations: 0.7857 MB / 294.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1567, allocations: 0 / 294.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005533/0.1573, allocations: 0.6395 MB / 294.8 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.639e-05/0.1574, allocations: 15.88 kB / 294.8 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.1575, allocations: 24.97 kB / 294.8 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.317e-05/0.1576, allocations: 44.23 kB / 294.9 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.1576, allocations: 13.56 kB / 294.9 MB, free: 3.125 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003544/0.158, allocations: 0.6739 MB / 295.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.158, allocations: 0 / 295.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005315/0.1585, allocations: 452.2 kB / 296 MB, free: 2.91 MB / 266.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.0005111/0.159, allocations: 0.5534 MB / 296.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005267/0.1596, allocations: 479 kB / 297 MB, free: 2.105 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.929e-05/0.1596, allocations: 24.19 kB / 297 MB, free: 2.082 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.1599, allocations: 323.8 kB / 297.4 MB, free: 1.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000758/0.1607, allocations: 1.567 MB / 298.9 MB, free: 180 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003891/0.1646, allocations: 2.516 MB / 301.4 MB, free: 13.83 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.1647, allocations: 244 kB / 301.7 MB, free: 13.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002626/0.165, allocations: 162.1 kB / 301.8 MB, free: 13.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.1652, allocations: 236.7 kB / 302.1 MB, free: 13.18 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1652, allocations: 0 / 302.1 MB, free: 13.18 MB / 282.7 MB Notification: Performance of Templates: time 0.02028/0.1855, allocations: 16.95 MB / 319 MB, free: 12.77 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & ./Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Spice3BenchmarkDifferentialPair/Spice3BenchmarkDifferentialPair.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9948160499334335]