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.001266/0.001266, allocations: 123.9 kB / 17.79 MB, free: 5.266 MB / 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.001263/0.001263, allocations: 185.2 kB / 20.73 MB, free: 2.332 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.393/1.393, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 55.91 kB / 365.6 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09896/0.1005, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009663/0.1102, allocations: 8.352 MB / 426.1 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01591/0.1261, allocations: 11.32 MB / 437.5 MB, free: 8.863 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.1276, allocations: 55.56 kB / 437.5 MB, free: 8.809 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002332/0.1299, allocations: 0.856 MB / 438.4 MB, free: 7.945 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004181/0.1341, allocations: 1.239 MB / 439.6 MB, free: 6.699 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002122/0.1362, allocations: 0.7089 MB / 440.3 MB, free: 5.984 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004519/0.1407, allocations: 2.689 MB / 443 MB, free: 3.289 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000445/0.1412, allocations: 233.8 kB / 443.2 MB, free: 3.035 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008566/0.142, allocations: 0.5598 MB / 443.8 MB, free: 2.473 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007641/0.1428, allocations: 0.6211 MB / 444.4 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.1429, allocations: 64 kB / 444.5 MB, free: 1.785 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00176/0.1447, allocations: 0.7766 MB / 445.3 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002164/0.1449, allocations: 218.6 kB / 445.5 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007158/0.1456, allocations: 0.7724 MB / 446.2 MB, free: 16 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1921/0.3377, allocations: 2.13 MB / 448.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.3377, allocations: 0.75 kB / 448.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3377, allocations: 0 / 448.4 MB, free: 11.74 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.3e-05/0.3377, allocations: 0 / 448.4 MB, free: 11.74 MB / 366.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.002988/0.3407, allocations: 2.285 MB / 450.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3408, allocations: 10.28 kB / 450.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/0.3409, allocations: 102.4 kB / 450.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.3411, allocations: 229.7 kB / 451 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.3429, allocations: 1.313 MB / 452.3 MB, free: 9.719 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.739e-05/0.3429, allocations: 46.12 kB / 452.3 MB, free: 9.715 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.343, allocations: 59.67 kB / 452.4 MB, free: 9.711 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.3442, allocations: 0.6897 MB / 453.1 MB, free: 9.645 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.3442, allocations: 1.031 kB / 453.1 MB, free: 9.645 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.257e-05/0.3443, allocations: 23.16 kB / 453.1 MB, free: 9.645 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.3443, allocations: 22 kB / 453.1 MB, free: 9.645 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.3455, allocations: 0.569 MB / 453.7 MB, free: 9.637 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003473/0.349, allocations: 2.512 MB / 456.2 MB, free: 8.848 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.3501, allocations: 0.5756 MB / 456.8 MB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008152/0.3509, allocations: 489.8 kB / 457.3 MB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007696/0.3586, allocations: 7.503 MB / 464.8 MB, free: 2.789 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000759/0.3594, allocations: 373.8 kB / 465.1 MB, free: 2.738 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 2.454e-06/0.3594, allocations: 0 / 465.1 MB, free: 2.738 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.005493/0.3649, allocations: 2.063 MB / 467.2 MB, free: 2.371 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.3649, allocations: 89.48 kB / 467.3 MB, free: 2.277 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/0.3665, allocations: 1.435 MB / 468.7 MB, free: 2.004 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.567e-05/0.3665, allocations: 37.2 kB / 468.8 MB, free: 1.965 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004942/0.367, allocations: 0.8049 MB / 469.6 MB, free: 1.316 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.3671, allocations: 242.4 kB / 469.8 MB, free: 1.137 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.3673, allocations: 136.9 kB / 469.9 MB, free: 1.066 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.943e-05/0.3674, allocations: 339.3 kB / 470.3 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005243/0.3679, allocations: 250.4 kB / 470.5 MB, free: 0.668 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005905/0.3685, allocations: 460.4 kB / 471 MB, free: 352 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.3697, allocations: 0.7331 MB / 471.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.3697, allocations: 1.188 kB / 471.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002045/0.3718, allocations: 1.116 MB / 472.8 MB, free: 15.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.3718, allocations: 8.609 kB / 472.8 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001046/0.3719, allocations: 74.34 kB / 472.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.373, allocations: 0.7005 MB / 473.6 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004181/0.3735, allocations: 109.8 kB / 473.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.3748, allocations: 1.13 MB / 474.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007176/0.3756, allocations: 94.08 kB / 474.9 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.956e-05/0.3756, allocations: 36.08 kB / 475 MB, free: 14.46 MB / 382.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.0005311/0.3762, allocations: 285 kB / 475.2 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.3764, allocations: 211.4 kB / 475.4 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/0.3786, allocations: 1.061 MB / 476.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.3786, allocations: 4.875 kB / 476.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3786, allocations: 1.219 kB / 476.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.3786, allocations: 15.39 kB / 476.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.3798, allocations: 0.9727 MB / 477.5 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-05/0.3799, allocations: 70.27 kB / 477.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003081/0.3802, allocations: 53.28 kB / 477.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/0.3812, allocations: 0.6707 MB / 478.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-05/0.3813, allocations: 21.86 kB / 478.3 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.3825, allocations: 1.094 MB / 479.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3825, allocations: 0 / 479.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.385, allocations: 1.325 MB / 480.7 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004977/0.3855, allocations: 290.8 kB / 481 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.3856, allocations: 9.062 kB / 481 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000439/0.3861, allocations: 39.5 kB / 481.1 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.3862, allocations: 55.67 kB / 481.1 MB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-05/0.3863, allocations: 26.16 kB / 481.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001159/0.3874, allocations: 0.9491 MB / 482.1 MB, free: 11.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3874, allocations: 0 / 482.1 MB, free: 11.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009089/0.3883, allocations: 435.5 kB / 482.5 MB, free: 10.96 MB / 382.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.003296/0.3916, allocations: 2.248 MB / 484.8 MB, free: 9.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001856/0.3935, allocations: 0.8125 MB / 485.6 MB, free: 9.309 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3935, allocations: 0 / 485.6 MB, free: 9.309 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.3945, allocations: 494.1 kB / 486.1 MB, free: 9.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009317/0.3954, allocations: 209.2 kB / 486.3 MB, free: 8.961 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01599/0.4114, allocations: 10.73 MB / 497 MB, free: 15.83 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000828/0.4123, allocations: 1.222 MB / 498.2 MB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004972/0.4128, allocations: 158.1 kB / 498.4 MB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007133/0.4135, allocations: 0.6243 MB / 499 MB, free: 13.8 MB / 398.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4135, allocations: 4 kB / 499 MB, free: 13.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08752/0.501, allocations: 32.65 MB / 0.5192 GB, free: 13.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.54/16.04, allocations: 20.42 kB / 0.5192 GB, free: 13.46 MB / 430.1 MB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair.fmu > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.42919009923935] 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.155183678958565 16.168848513 15.828093895 Calling exit ...