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.001489/0.001489, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.0016/0.0016, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 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 1.364/1.364, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 51.92 kB / 378.6 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2241, allocations: 53.36 MB / 431.9 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009121/0.2332, allocations: 8.38 MB / 440.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01382/0.247, allocations: 11.39 MB / 451.7 MB, free: 3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.2482, allocations: 87.06 kB / 451.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002004/0.2502, allocations: 0.8517 MB / 452.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003615/0.2539, allocations: 1.249 MB / 453.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001941/0.2558, allocations: 0.7111 MB / 454.6 MB, free: 92 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0042/0.26, allocations: 2.73 MB / 457.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004497/0.2604, allocations: 238.2 kB / 457.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008418/0.2613, allocations: 0.5793 MB / 458.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008043/0.2621, allocations: 0.6211 MB / 458.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.2622, allocations: 68 kB / 458.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/0.264, allocations: 0.8 MB / 459.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002174/0.2642, allocations: 214.7 kB / 459.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007605/0.265, allocations: 0.7686 MB / 460.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002706/0.2677, allocations: 2.139 MB / 462.7 MB, free: 7.887 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2677, allocations: 4 kB / 462.7 MB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2677, allocations: 3.938 kB / 462.8 MB, free: 7.879 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.77e-05/0.2677, allocations: 0 / 462.8 MB, free: 7.879 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.003547/0.2713, allocations: 2.217 MB / 465 MB, free: 5.613 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.2713, allocations: 8.031 kB / 465 MB, free: 5.605 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.253e-05/0.2713, allocations: 13.5 kB / 465 MB, free: 5.594 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001127/0.2714, allocations: 102.7 kB / 465.1 MB, free: 5.484 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004185/0.2719, allocations: 251.4 kB / 465.3 MB, free: 5.238 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/0.2738, allocations: 1.223 MB / 466.6 MB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.971e-05/0.2738, allocations: 41.31 kB / 466.6 MB, free: 3.895 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.2739, allocations: 56 kB / 466.7 MB, free: 3.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.2752, allocations: 0.69 MB / 467.3 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.2752, allocations: 4 kB / 467.3 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.84e-05/0.2753, allocations: 20 kB / 467.4 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/0.2753, allocations: 19.98 kB / 467.4 MB, free: 3.094 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.2766, allocations: 0.5711 MB / 468 MB, free: 2.523 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00368/0.2803, allocations: 2.467 MB / 470.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.2815, allocations: 0.5683 MB / 471 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000879/0.2824, allocations: 494.1 kB / 471.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006013/0.2884, allocations: 2.734 MB / 474.2 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008654/0.2893, allocations: 406.9 kB / 474.6 MB, free: 11.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.855e-06/0.2893, allocations: 4 kB / 474.6 MB, free: 11.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.007024/0.2963, allocations: 2.31 MB / 476.9 MB, free: 9.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/0.2964, allocations: 85.61 kB / 477 MB, free: 9.273 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.2982, allocations: 1.43 MB / 478.4 MB, free: 7.805 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.205e-05/0.2983, allocations: 37.7 kB / 478.5 MB, free: 7.762 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007074/0.299, allocations: 0.7986 MB / 479.3 MB, free: 6.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.2992, allocations: 257.8 kB / 479.5 MB, free: 6.703 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.2994, allocations: 138.6 kB / 479.7 MB, free: 6.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.2996, allocations: 341.9 kB / 480 MB, free: 6.223 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006271/0.3002, allocations: 253.9 kB / 480.2 MB, free: 5.973 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007594/0.301, allocations: 451.7 kB / 480.7 MB, free: 5.465 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003441/0.3044, allocations: 1.552 MB / 482.2 MB, free: 3.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.3044, allocations: 0 / 482.2 MB, free: 3.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002234/0.3067, allocations: 1.138 MB / 483.4 MB, free: 2.695 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.3067, allocations: 8 kB / 483.4 MB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001173/0.3068, allocations: 79.98 kB / 483.5 MB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.3078, allocations: 0.5954 MB / 484.1 MB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005597/0.3084, allocations: 143.7 kB / 484.2 MB, free: 1.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/0.3099, allocations: 1.528 MB / 485.7 MB, free: 300 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007184/0.3106, allocations: 99.55 kB / 485.8 MB, free: 200 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.997e-05/0.3107, allocations: 32 kB / 485.8 MB, free: 168 kB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: Q2.vbc:VARIABLE(start = 0.0 unit = \"V\" fixed = true ) type: Real Q2.vbx:VARIABLE(unit = \"V\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,12), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006226/0.3113, allocations: 289.6 kB / 486.1 MB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002885/0.3116, allocations: 222.7 kB / 486.3 MB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002368/0.314, allocations: 1.126 MB / 487.5 MB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.314, allocations: 4 kB / 487.5 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.314, allocations: 4 kB / 487.5 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.314, allocations: 3.984 kB / 487.5 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.3152, allocations: 0.9589 MB / 488.4 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001065/0.3153, allocations: 79.98 kB / 488.5 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003765/0.3156, allocations: 67.94 kB / 488.6 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/0.3167, allocations: 0.6552 MB / 489.2 MB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.996e-05/0.3168, allocations: 20 kB / 489.3 MB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.3181, allocations: 1.141 MB / 490.4 MB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3181, allocations: 0 / 490.4 MB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002725/0.3208, allocations: 1.417 MB / 491.8 MB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004208/0.3213, allocations: 226.4 kB / 492 MB, free: 9.836 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.3214, allocations: 15.94 kB / 492.1 MB, free: 9.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.3219, allocations: 31.95 kB / 492.1 MB, free: 9.789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.322, allocations: 52.42 kB / 492.1 MB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.292e-05/0.3221, allocations: 23.98 kB / 492.2 MB, free: 9.715 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001201/0.3233, allocations: 0.9484 MB / 493.1 MB, free: 8.746 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3233, allocations: 4 kB / 493.1 MB, free: 8.742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008893/0.3242, allocations: 431 kB / 493.5 MB, free: 8.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (Q1.vbe,Q1.vbc,Q1.vbx,Q2.vbe,Q2.vbc,Q2.vbx) * 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 {(3,30)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003834/0.328, allocations: 2.352 MB / 495.9 MB, free: 5.934 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001996/0.33, allocations: 0.8187 MB / 496.7 MB, free: 5.105 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.33, allocations: 7.938 kB / 496.7 MB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.3312, allocations: 0.5078 MB / 497.2 MB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009695/0.3322, allocations: 218.9 kB / 497.4 MB, free: 4.355 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/0.3487, allocations: 10.7 MB / 0.4962 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008448/0.3495, allocations: 1.216 MB / 0.4974 GB, free: 8.086 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000463/0.35, allocations: 166.1 kB / 0.4976 GB, free: 7.922 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007206/0.3507, allocations: 0.6477 MB / 0.4982 GB, free: 7.273 MB / 414.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3507, allocations: 0 / 0.4982 GB, free: 7.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06898/0.4197, allocations: 33.94 MB / 0.5314 GB, free: 5.582 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/16.07, allocations: 7.812 kB / 0.5314 GB, free: 5.578 MB / 446.1 MB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Modelica_4_1_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair.fmu > Modelica_4.1.0_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.582605131028686] 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.250097375013866 16.438064873 16.167750473 Calling exit ...