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.001182/0.001182, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001706/0.002888, allocations: 449.7 kB / 10.37 MB, free: 328 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.001089/0.001089, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001367/0.002455, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9903/0.9903, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1153/1.106, allocations: 53.66 MB / 243.3 MB, free: 15.59 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.142e-06/1.142e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.894e-05, allocations: 2.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.005595/0.005614, allocations: 7.818 MB / 252.4 MB, free: 6.469 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.01563, allocations: 10.81 MB / 263.2 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.01685, allocations: 87.06 kB / 263.2 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.01836, allocations: 0.7974 MB / 264 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003347/0.02171, allocations: 1.285 MB / 265.3 MB, free: 9.434 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.02314, allocations: 0.6259 MB / 266 MB, free: 8.801 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003503/0.02664, allocations: 2.796 MB / 268.7 MB, free: 5.992 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003681/0.02701, allocations: 256.2 kB / 269 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.02851, allocations: 1.401 MB / 270.4 MB, free: 4.262 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005297/0.02904, allocations: 486.4 kB / 270.9 MB, free: 3.785 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.02914, allocations: 64 kB / 270.9 MB, free: 3.723 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001512/0.03065, allocations: 0.8068 MB / 271.7 MB, free: 2.914 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.0308, allocations: 182.8 kB / 271.9 MB, free: 2.734 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004108/0.03121, allocations: 394.8 kB / 272.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.03289, allocations: 1.498 MB / 273.8 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.695e-05/0.03291, allocations: 0 / 273.8 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.03291, allocations: 4 kB / 273.8 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.366e-05/0.03295, allocations: 0 / 273.8 MB, free: 0.8398 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.1156/0.1486, allocations: 2.59 MB / 276.4 MB, free: 8.508 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1486, allocations: 10.78 kB / 276.4 MB, free: 8.508 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004299/0.149, allocations: 201 kB / 276.6 MB, free: 8.508 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.1502, allocations: 1.065 MB / 277.7 MB, free: 7.992 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.1502, allocations: 39.23 kB / 277.7 MB, free: 7.992 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.892e-05/0.1503, allocations: 56.8 kB / 277.8 MB, free: 7.992 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006252/0.1509, allocations: 0.5124 MB / 278.3 MB, free: 7.875 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1509, allocations: 5.094 kB / 278.3 MB, free: 7.871 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.1509, allocations: 23.33 kB / 278.3 MB, free: 7.871 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.1509, allocations: 19.53 kB / 278.3 MB, free: 7.871 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000295/0.1512, allocations: 194.7 kB / 278.5 MB, free: 7.852 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.1531, allocations: 1.562 MB / 280.1 MB, free: 7.227 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.1534, allocations: 352.5 kB / 280.4 MB, free: 7.152 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002675/0.1537, allocations: 280.1 kB / 280.7 MB, free: 7.141 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004452/0.1581, allocations: 3.048 MB / 283.7 MB, free: 6.723 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002995/0.1584, allocations: 229.6 kB / 284 MB, free: 6.668 MB / 266.7 MB Notification: Performance of pre-optimization done (n=67): time 3.878e-06/0.1584, allocations: 0 / 284 MB, free: 6.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=67): time 0.002617/0.161, allocations: 1.355 MB / 285.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.1611, allocations: 60.34 kB / 285.4 MB, free: 6.445 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007773/0.1619, allocations: 1.313 MB / 286.7 MB, free: 6.223 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.1619, allocations: 39.05 kB / 286.7 MB, free: 6.191 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.1621, allocations: 467.9 kB / 287.2 MB, free: 5.984 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.515e-05/0.1622, allocations: 247.2 kB / 287.4 MB, free: 5.828 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.835e-05/0.1623, allocations: 127.4 kB / 287.6 MB, free: 5.809 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.608e-05/0.1623, allocations: 343.3 kB / 287.9 MB, free: 5.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-05/0.1624, allocations: 80.72 kB / 288 MB, free: 5.496 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.1625, allocations: 306.4 kB / 288.3 MB, free: 5.242 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.1628, allocations: 447.3 kB / 288.7 MB, free: 5.012 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.1628, allocations: 2.375 kB / 288.7 MB, free: 5.012 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005448/0.1634, allocations: 0.5986 MB / 289.3 MB, free: 4.945 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1634, allocations: 12.16 kB / 289.3 MB, free: 4.941 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.516e-05/0.1635, allocations: 13.78 kB / 289.3 MB, free: 4.941 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005609/0.164, allocations: 0.5379 MB / 289.9 MB, free: 4.902 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.1642, allocations: 118.7 kB / 290 MB, free: 4.902 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004549/0.1647, allocations: 0.8071 MB / 290.8 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.165, allocations: 83.33 kB / 290.9 MB, free: 4.336 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/0.165, allocations: 22.19 kB / 290.9 MB, free: 4.336 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.0001566/0.1652, allocations: 156.7 kB / 291 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.1653, allocations: 146.4 kB / 291.2 MB, free: 4.215 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006499/0.1659, allocations: 0.6161 MB / 291.8 MB, free: 4.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1659, allocations: 6 kB / 291.8 MB, free: 4.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.1659, allocations: 0 / 291.8 MB, free: 4.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.1659, allocations: 0 / 291.8 MB, free: 4.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005437/0.1665, allocations: 0.5581 MB / 292.4 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-05/0.1665, allocations: 11.11 kB / 292.4 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.1667, allocations: 52.03 kB / 292.4 MB, free: 3.988 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002324/0.1669, allocations: 187.4 kB / 292.6 MB, free: 3.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006804/0.1676, allocations: 0.523 MB / 293.1 MB, free: 3.828 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.1677, allocations: 14.56 kB / 293.2 MB, free: 3.828 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005458/0.1682, allocations: 0.7931 MB / 293.9 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1682, allocations: 0 / 293.9 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007603/0.169, allocations: 0.639 MB / 294.6 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.1691, allocations: 15.19 kB / 294.6 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.1694, allocations: 21.56 kB / 294.6 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.853e-05/0.1695, allocations: 45.59 kB / 294.7 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.1695, allocations: 10.78 kB / 294.7 MB, free: 3.168 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004867/0.17, allocations: 0.6734 MB / 295.3 MB, free: 3.082 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.17, allocations: 4 kB / 295.4 MB, free: 3.078 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008103/0.1708, allocations: 445.3 kB / 295.8 MB, free: 3.012 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.0006465/0.1714, allocations: 0.5543 MB / 296.3 MB, free: 2.605 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006955/0.1721, allocations: 468.9 kB / 296.8 MB, free: 2.227 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.962e-05/0.1722, allocations: 20 kB / 296.8 MB, free: 2.207 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004414/0.1726, allocations: 312.2 kB / 297.1 MB, free: 1.961 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006973/0.1733, allocations: 336.7 kB / 297.5 MB, free: 1.734 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005458/0.1788, allocations: 2.517 MB / 300 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.1789, allocations: 243.9 kB / 300.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003744/0.1793, allocations: 162.7 kB / 300.4 MB, free: 15 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/0.1796, allocations: 237.1 kB / 300.6 MB, free: 14.78 MB / 282.7 MB Notification: Performance of SimCode: time 9.02e-07/0.1796, allocations: 0 / 300.6 MB, free: 14.78 MB / 282.7 MB Notification: Performance of Templates: time 0.0279/0.2075, allocations: 16.95 MB / 317.6 MB, free: 14.32 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1070360131561756]