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.005582/0.005582, allocations: 98.45 kB / 21.96 MB, free: 5.211 MB / 14.72 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.001624/0.001624, allocations: 218.3 kB / 25.26 MB, free: 3.141 MB / 14.72 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 1.335/1.335, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 51.92 kB / 348 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2519, allocations: 49.16 MB / 397.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.006575/0.2585, allocations: 7.01 MB / 404.1 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.2703, allocations: 9.523 MB / 413.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001897/0.2722, allocations: 83.41 kB / 413.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002299/0.2745, allocations: 0.7527 MB / 414.5 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004821/0.2793, allocations: 1.235 MB / 415.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.2815, allocations: 0.6924 MB / 416.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004412/0.2859, allocations: 2.658 MB / 419.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004178/0.2864, allocations: 230.9 kB / 419.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007794/0.2871, allocations: 0.5608 MB / 419.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007821/0.2879, allocations: 0.6115 MB / 420.5 MB, free: 9.609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.288, allocations: 70.09 kB / 420.6 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.2898, allocations: 0.7061 MB / 421.3 MB, free: 9.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.29, allocations: 216 kB / 421.5 MB, free: 9.152 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006445/0.2907, allocations: 0.5781 MB / 422.1 MB, free: 8.816 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002712/0.2934, allocations: 2.162 MB / 424.2 MB, free: 7.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2934, allocations: 0 / 424.2 MB, free: 7.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2934, allocations: 0 / 424.2 MB, free: 7.324 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.678e-05/0.2934, allocations: 0 / 424.2 MB, free: 7.324 MB / 334.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.003516/0.2969, allocations: 2.207 MB / 426.4 MB, free: 5.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.297, allocations: 17.52 kB / 426.4 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.101e-05/0.297, allocations: 15.84 kB / 426.5 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/0.2971, allocations: 105.4 kB / 426.6 MB, free: 5.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002952/0.2974, allocations: 231.5 kB / 426.8 MB, free: 5.344 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/0.2993, allocations: 1.222 MB / 428 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.021e-05/0.2993, allocations: 37.31 kB / 428 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.2994, allocations: 52 kB / 428.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.3007, allocations: 0.719 MB / 428.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.3008, allocations: 0 / 428.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.835e-05/0.3008, allocations: 24 kB / 428.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.3008, allocations: 23.98 kB / 428.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.3021, allocations: 0.5672 MB / 429.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003537/0.3056, allocations: 2.327 MB / 431.8 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.3068, allocations: 0.5721 MB / 432.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008331/0.3076, allocations: 499.3 kB / 432.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006718/0.3144, allocations: 2.902 MB / 435.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007874/0.3152, allocations: 386.4 kB / 436.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=67): time 2.705e-06/0.3152, allocations: 0 / 436.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.005622/0.3208, allocations: 1.993 MB / 438.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.961e-05/0.3209, allocations: 93.52 kB / 438.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/0.3226, allocations: 1.435 MB / 439.6 MB, free: 8.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/0.3226, allocations: 37.64 kB / 439.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006901/0.3233, allocations: 0.8063 MB / 440.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/0.3235, allocations: 234 kB / 440.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.3237, allocations: 142.6 kB / 440.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3239, allocations: 337.9 kB / 441.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005825/0.3245, allocations: 257.8 kB / 441.4 MB, free: 6.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007564/0.3252, allocations: 479.9 kB / 441.9 MB, free: 5.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.3266, allocations: 0.7325 MB / 442.6 MB, free: 4.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3266, allocations: 4 kB / 442.6 MB, free: 4.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002076/0.3286, allocations: 1.105 MB / 443.7 MB, free: 3.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.3287, allocations: 8 kB / 443.7 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/0.3288, allocations: 75.98 kB / 443.8 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.33, allocations: 0.6914 MB / 444.5 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004458/0.3304, allocations: 115.8 kB / 444.6 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.3318, allocations: 1.12 MB / 445.7 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007428/0.3325, allocations: 95.48 kB / 445.8 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-05/0.3326, allocations: 32 kB / 445.8 MB, free: 1.695 MB / 350.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.0004726/0.3331, allocations: 293.6 kB / 446.1 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.3333, allocations: 218.7 kB / 446.3 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/0.3355, allocations: 1.058 MB / 447.4 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.3355, allocations: 4 kB / 447.4 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3355, allocations: 0 / 447.4 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.3355, allocations: 3.984 kB / 447.4 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.3367, allocations: 0.8737 MB / 448.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.757e-05/0.3368, allocations: 67.98 kB / 448.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003242/0.3371, allocations: 63.89 kB / 448.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001101/0.3382, allocations: 0.6555 MB / 449.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-05/0.3382, allocations: 31.98 kB / 449.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001273/0.3395, allocations: 1.088 MB / 450.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3395, allocations: 0 / 450.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002489/0.342, allocations: 1.326 MB / 451.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004153/0.3424, allocations: 222.5 kB / 451.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.3426, allocations: 12 kB / 451.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.343, allocations: 35.95 kB / 451.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.3432, allocations: 52.36 kB / 451.8 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.409e-05/0.3432, allocations: 27.98 kB / 451.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001175/0.3444, allocations: 0.9449 MB / 452.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3444, allocations: 3.938 kB / 452.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009761/0.3454, allocations: 434.9 kB / 453.2 MB, free: 10.16 MB / 366.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.003547/0.3489, allocations: 2.257 MB / 455.5 MB, free: 7.859 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001895/0.3508, allocations: 0.8157 MB / 456.3 MB, free: 7.039 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3508, allocations: 0 / 456.3 MB, free: 7.039 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.3519, allocations: 485.9 kB / 456.8 MB, free: 6.555 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009014/0.3528, allocations: 188.5 kB / 457 MB, free: 6.367 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.016/0.3688, allocations: 10.71 MB / 467.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006364/0.3694, allocations: 0.6377 MB / 468.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004632/0.3699, allocations: 158.1 kB / 468.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007243/0.3706, allocations: 0.6243 MB / 469.1 MB, free: 9.859 MB / 382.1 MB Notification: Performance of SimCode: time 1.353e-06/0.3706, allocations: 0 / 469.1 MB, free: 9.859 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06929/0.4399, allocations: 32.21 MB / 0.4896 GB, free: 9.523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.66/16.1, allocations: 12 kB / 0.4896 GB, free: 9.512 MB / 414.1 MB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.392536278930493] 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'] 16.284794220002368 16.299362221 16.002806307 Calling exit ...