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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 88.69 kB / 20.95 MB, free: 464 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 150.7 kB / 24.24 MB, free: 3.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 173.3 MB / 200.8 MB, free: 12.76 MB / 190.1 MB " [Timeout remaining time 179] 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=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.0.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.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 267.3 MB, free: 10.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.78e-05, allocations: 6.25 kB / 267.3 MB, free: 10.22 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.007958/0.007986, allocations: 7.149 MB / 274.5 MB, free: 3.031 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.01236/0.02034, allocations: 9.818 MB / 284.3 MB, free: 9.172 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008604/0.0212, allocations: 87.06 kB / 284.4 MB, free: 9.086 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001861/0.02307, allocations: 0.7691 MB / 285.1 MB, free: 8.309 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002889/0.02596, allocations: 1.291 MB / 286.4 MB, free: 7.012 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.02752, allocations: 0.7265 MB / 287.2 MB, free: 6.281 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003894/0.03141, allocations: 2.772 MB / 289.9 MB, free: 3.496 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003938/0.03181, allocations: 222.2 kB / 290.1 MB, free: 3.258 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000994/0.0328, allocations: 0.8143 MB / 291 MB, free: 2.441 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005756/0.03338, allocations: 442.3 kB / 291.4 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.0335, allocations: 68 kB / 291.5 MB, free: 1.941 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.03489, allocations: 0.6985 MB / 292.2 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002083/0.0351, allocations: 226.6 kB / 292.4 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005129/0.03561, allocations: 442.6 kB / 292.8 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002426/0.03804, allocations: 2.157 MB / 295 MB, free: 14.42 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.03804, allocations: 0 / 295 MB, free: 14.42 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.03805, allocations: 0 / 295 MB, free: 14.42 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.03806, allocations: 0 / 295 MB, free: 14.42 MB / 286.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.003427/0.04149, allocations: 2.189 MB / 297.2 MB, free: 12.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.04153, allocations: 8.922 kB / 297.2 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003592/0.04189, allocations: 279.5 kB / 297.4 MB, free: 11.9 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/0.04386, allocations: 1.359 MB / 298.8 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.135e-05/0.04391, allocations: 37.69 kB / 298.8 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001551/0.04406, allocations: 60.31 kB / 298.9 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.04554, allocations: 0.719 MB / 299.6 MB, free: 9.629 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.04556, allocations: 0 / 299.6 MB, free: 9.629 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.438e-05/0.04562, allocations: 23.98 kB / 299.6 MB, free: 9.605 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.04564, allocations: 20 kB / 299.7 MB, free: 9.586 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001449/0.04709, allocations: 0.575 MB / 300.2 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003645/0.05073, allocations: 2.26 MB / 302.5 MB, free: 6.645 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.05197, allocations: 0.5648 MB / 303.1 MB, free: 6.066 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008736/0.05285, allocations: 490.1 kB / 303.5 MB, free: 5.586 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006837/0.05968, allocations: 3.053 MB / 306.6 MB, free: 2.508 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008001/0.06048, allocations: 383 kB / 307 MB, free: 2.121 MB / 286.1 MB Notification: Performance of pre-optimization done (n=67): time 2.214e-06/0.06049, allocations: 0 / 307 MB, free: 2.121 MB / 286.1 MB Notification: Performance of matching and sorting (n=67): time 0.0057/0.06619, allocations: 2.009 MB / 309 MB, free: 104 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.09898/0.1652, allocations: 89.59 kB / 309.1 MB, free: 51.15 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.167, allocations: 1.437 MB / 310.5 MB, free: 50.89 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.1671, allocations: 37.23 kB / 310.5 MB, free: 50.86 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005282/0.1676, allocations: 0.7965 MB / 311.3 MB, free: 50.32 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.1678, allocations: 236.3 kB / 311.6 MB, free: 50.24 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.168, allocations: 140.8 kB / 311.7 MB, free: 50.17 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.328e-05/0.1681, allocations: 334.9 kB / 312 MB, free: 49.86 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005699/0.1686, allocations: 253.9 kB / 312.3 MB, free: 49.78 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006169/0.1692, allocations: 481.7 kB / 312.7 MB, free: 49.43 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.1704, allocations: 0.7353 MB / 313.5 MB, free: 49 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.1704, allocations: 2.656 kB / 313.5 MB, free: 49 MB / 286.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001885/0.1723, allocations: 1.143 MB / 314.6 MB, free: 48.52 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.1723, allocations: 7.156 kB / 314.6 MB, free: 48.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/0.1724, allocations: 75.06 kB / 314.7 MB, free: 48.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.1735, allocations: 0.6995 MB / 315.4 MB, free: 48.39 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/0.174, allocations: 111.2 kB / 315.5 MB, free: 48.38 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.175, allocations: 1.134 MB / 316.6 MB, free: 47.6 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005982/0.1756, allocations: 88.73 kB / 316.7 MB, free: 47.57 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.922e-05/0.1757, allocations: 35.95 kB / 316.8 MB, free: 47.56 MB / 286.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.0003858/0.1761, allocations: 291.8 kB / 317 MB, free: 47.35 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.1763, allocations: 230.7 kB / 317.3 MB, free: 47.23 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002108/0.1784, allocations: 1.048 MB / 318.3 MB, free: 46.83 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.1784, allocations: 11.34 kB / 318.3 MB, free: 46.83 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1784, allocations: 2.906 kB / 318.3 MB, free: 46.83 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.1784, allocations: 3.938 kB / 318.3 MB, free: 46.83 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009372/0.1794, allocations: 0.7974 MB / 319.1 MB, free: 46.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.246e-05/0.1795, allocations: 64.98 kB / 319.2 MB, free: 46.43 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003461/0.1798, allocations: 66.38 kB / 319.3 MB, free: 46.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001052/0.1809, allocations: 0.6561 MB / 319.9 MB, free: 46.3 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-05/0.1809, allocations: 20.06 kB / 319.9 MB, free: 46.3 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/0.1819, allocations: 1.108 MB / 321 MB, free: 45.52 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1819, allocations: 0 / 321 MB, free: 45.52 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/0.1842, allocations: 1.342 MB / 322.4 MB, free: 44.91 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003065/0.1845, allocations: 221.2 kB / 322.6 MB, free: 44.79 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.1846, allocations: 8.719 kB / 322.6 MB, free: 44.78 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004357/0.1851, allocations: 34.73 kB / 322.6 MB, free: 44.77 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.1852, allocations: 49.06 kB / 322.7 MB, free: 44.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/0.1852, allocations: 31.47 kB / 322.7 MB, free: 44.76 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0009187/0.1862, allocations: 0.9424 MB / 323.7 MB, free: 44.38 MB / 286.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1862, allocations: 0 / 323.7 MB, free: 44.38 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008035/0.187, allocations: 436.7 kB / 324.1 MB, free: 44.33 MB / 286.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.0006549/0.1876, allocations: 0.5025 MB / 324.6 MB, free: 43.97 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.1892, allocations: 0.8109 MB / 325.4 MB, free: 43.26 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1892, allocations: 0 / 325.4 MB, free: 43.26 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009179/0.1901, allocations: 498.2 kB / 325.9 MB, free: 42.83 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007674/0.1909, allocations: 205.6 kB / 326.1 MB, free: 42.65 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/0.1945, allocations: 3.03 MB / 329.1 MB, free: 39.74 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.1948, allocations: 0.6338 MB / 329.8 MB, free: 39.07 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003312/0.1952, allocations: 161.1 kB / 329.9 MB, free: 38.91 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.1953, allocations: 80.5 kB / 330 MB, free: 38.84 MB / 286.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1953, allocations: 4 kB / 330 MB, free: 38.83 MB / 286.1 MB Notification: Performance of Templates: time 0.02095/0.2162, allocations: 14.71 MB / 344.7 MB, free: 24.29 MB / 286.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.makefile [Timeout 660] (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) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.476145472377539] Failed to read output from testmodel.py, exit status != 0: ['time', 'Q1.vbc', 'Q1.vbe', 'Q2.vbc', 'Q2.vbe', 'VCC.T0', 'VCC.counter', 'VCC.counter2', 'VEE.T0', 'VEE.counter', 'VEE.counter2'] 0.22370198369026184 0.233096566 0.19280846000000001 Calling exit ...