Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001346/0.001346, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001631/0.001631, allocations: 217.1 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 59.91 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2803, allocations: 53.4 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009575/0.2899, allocations: 8.379 MB / 439.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01472/0.3046, allocations: 11.39 MB / 451 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001524/0.3061, allocations: 87.06 kB / 451 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00242/0.3085, allocations: 0.8475 MB / 451.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003914/0.3125, allocations: 1.249 MB / 453.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.3145, allocations: 0.7189 MB / 453.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004801/0.3193, allocations: 2.727 MB / 456.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000483/0.3198, allocations: 238.2 kB / 456.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008776/0.3207, allocations: 0.5832 MB / 457.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000773/0.3214, allocations: 0.6211 MB / 458 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.3215, allocations: 68 kB / 458.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.3234, allocations: 0.7845 MB / 458.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.3236, allocations: 230.6 kB / 459.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007762/0.3244, allocations: 0.7686 MB / 459.9 MB, free: 9.875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002791/0.3271, allocations: 2.135 MB / 462 MB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3272, allocations: 0 / 462 MB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3272, allocations: 0 / 462 MB, free: 7.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.975e-05/0.3272, allocations: 0 / 462 MB, free: 7.73 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.0037/0.3309, allocations: 2.213 MB / 464.2 MB, free: 5.469 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.3309, allocations: 12.03 kB / 464.2 MB, free: 5.457 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/0.3311, allocations: 106.6 kB / 464.3 MB, free: 5.344 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004462/0.3315, allocations: 247.5 kB / 464.6 MB, free: 5.102 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002039/0.3335, allocations: 1.219 MB / 465.8 MB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.935e-05/0.3336, allocations: 41.31 kB / 465.8 MB, free: 3.762 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.3337, allocations: 55.94 kB / 465.9 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.335, allocations: 0.6978 MB / 466.6 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.3351, allocations: 0 / 466.6 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.844e-05/0.3351, allocations: 20 kB / 466.6 MB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.3351, allocations: 15.98 kB / 466.6 MB, free: 2.961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.3365, allocations: 0.5751 MB / 467.2 MB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003892/0.3404, allocations: 2.463 MB / 469.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.3417, allocations: 0.5729 MB / 470.2 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009189/0.3426, allocations: 494.7 kB / 470.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006285/0.3489, allocations: 2.738 MB / 473.5 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008654/0.3497, allocations: 398.9 kB / 473.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=73): time 2.215e-06/0.3497, allocations: 0 / 473.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.007137/0.3569, allocations: 2.321 MB / 476.2 MB, free: 9.234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/0.357, allocations: 89.61 kB / 476.3 MB, free: 9.129 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/0.3589, allocations: 1.426 MB / 477.7 MB, free: 7.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.22e-05/0.359, allocations: 33.7 kB / 477.7 MB, free: 7.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007927/0.3598, allocations: 0.7946 MB / 478.5 MB, free: 6.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.36, allocations: 257.8 kB / 478.8 MB, free: 6.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.3602, allocations: 142.6 kB / 478.9 MB, free: 6.426 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.3604, allocations: 341.9 kB / 479.2 MB, free: 6.086 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006264/0.361, allocations: 261.8 kB / 479.5 MB, free: 5.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007864/0.3618, allocations: 442 kB / 479.9 MB, free: 5.324 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003472/0.3653, allocations: 1.548 MB / 481.5 MB, free: 3.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.3653, allocations: 4 kB / 481.5 MB, free: 3.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002306/0.3676, allocations: 1.134 MB / 482.6 MB, free: 2.555 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.3676, allocations: 11.98 kB / 482.6 MB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001356/0.3678, allocations: 87.94 kB / 482.7 MB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.3688, allocations: 0.6016 MB / 483.3 MB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005788/0.3694, allocations: 131.8 kB / 483.4 MB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/0.371, allocations: 1.526 MB / 485 MB, free: 152 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000711/0.3717, allocations: 95.42 kB / 485.1 MB, free: 56 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-05/0.3718, allocations: 36.12 kB / 485.1 MB, free: 20 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.0006136/0.3724, allocations: 298.2 kB / 485.4 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/0.3727, allocations: 206.7 kB / 485.6 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/0.3752, allocations: 1.122 MB / 486.7 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.3752, allocations: 11.94 kB / 486.7 MB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3752, allocations: 3.938 kB / 486.7 MB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.3753, allocations: 3.984 kB / 486.7 MB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.3765, allocations: 0.9667 MB / 487.7 MB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001131/0.3767, allocations: 76 kB / 487.8 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003783/0.377, allocations: 63.94 kB / 487.8 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/0.3782, allocations: 0.6553 MB / 488.5 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/0.3783, allocations: 20 kB / 488.5 MB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/0.3797, allocations: 1.145 MB / 489.6 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3797, allocations: 0 / 489.6 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002867/0.3826, allocations: 1.413 MB / 491.1 MB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004838/0.3831, allocations: 214.6 kB / 491.3 MB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.3832, allocations: 23.94 kB / 491.3 MB, free: 9.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004721/0.3837, allocations: 43.89 kB / 491.3 MB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.3839, allocations: 52.41 kB / 491.4 MB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/0.3839, allocations: 27.94 kB / 491.4 MB, free: 9.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001329/0.3852, allocations: 0.9444 MB / 492.4 MB, free: 8.605 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3852, allocations: 0 / 492.4 MB, free: 8.605 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009915/0.3862, allocations: 435 kB / 492.8 MB, free: 8.18 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.004045/0.3903, allocations: 2.351 MB / 495.1 MB, free: 5.789 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002074/0.3924, allocations: 0.8304 MB / 496 MB, free: 4.949 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3924, allocations: 0 / 496 MB, free: 4.949 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.3936, allocations: 0.5 MB / 496.5 MB, free: 4.438 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.3946, allocations: 209.8 kB / 496.7 MB, free: 4.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/0.412, allocations: 10.71 MB / 0.4955 GB, free: 9.199 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008483/0.4128, allocations: 1.224 MB / 0.4967 GB, free: 7.945 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004889/0.4133, allocations: 162.1 kB / 0.4968 GB, free: 7.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007416/0.414, allocations: 0.6516 MB / 0.4975 GB, free: 7.133 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.414, allocations: 0 / 0.4975 GB, free: 7.133 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07882/0.4929, allocations: 33.91 MB / 0.5306 GB, free: 5.359 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.25/16.75, allocations: 8.062 kB / 0.5306 GB, free: 5.352 MB / 446.1 MB " [Timeout remaining time 643] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.352184583898634] 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.885482687037438 17.086085184 16.756347214 Calling exit ...