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.001256/0.001256, allocations: 108.6 kB / 18.49 MB, free: 4.543 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.001252/0.001252, allocations: 197 kB / 21.43 MB, free: 1.609 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.399/1.399, allocations: 225.6 MB / 249.8 MB, free: 3.613 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 59.89 kB / 366.4 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09478/0.09636, allocations: 52.13 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009129/0.1055, allocations: 8.348 MB / 426.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01414/0.1196, allocations: 11.33 MB / 438.2 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.1213, allocations: 87.06 kB / 438.2 MB, free: 8.762 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002458/0.1237, allocations: 0.8599 MB / 439.1 MB, free: 7.895 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004457/0.1282, allocations: 1.235 MB / 440.3 MB, free: 6.652 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.1305, allocations: 0.6973 MB / 441 MB, free: 5.949 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004834/0.1353, allocations: 2.693 MB / 443.7 MB, free: 3.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005149/0.1358, allocations: 233.8 kB / 444 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000936/0.1367, allocations: 0.5793 MB / 444.5 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008095/0.1376, allocations: 0.6249 MB / 445.2 MB, free: 1.785 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.1377, allocations: 68 kB / 445.2 MB, free: 1.719 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/0.1397, allocations: 0.7727 MB / 446 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002547/0.1399, allocations: 222.7 kB / 446.2 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.238/0.3779, allocations: 0.7646 MB / 447 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003244/0.3811, allocations: 2.128 MB / 449.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3811, allocations: 0.5156 kB / 449.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3811, allocations: 0 / 449.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.549e-05/0.3811, allocations: 2.625 kB / 449.1 MB, free: 11.67 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.00313/0.3843, allocations: 2.284 MB / 451.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3843, allocations: 10.81 kB / 451.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.567e-05/0.3843, allocations: 16.53 kB / 451.4 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/0.3845, allocations: 108.1 kB / 451.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002127/0.3847, allocations: 230 kB / 451.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/0.3863, allocations: 1.317 MB / 453.1 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.3863, allocations: 40.8 kB / 453.1 MB, free: 9.637 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.3865, allocations: 61.19 kB / 453.2 MB, free: 9.637 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.3877, allocations: 0.6876 MB / 453.9 MB, free: 9.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.3877, allocations: 0.7031 kB / 453.9 MB, free: 9.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.897e-05/0.3878, allocations: 25.31 kB / 453.9 MB, free: 9.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.3878, allocations: 19.78 kB / 453.9 MB, free: 9.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.389, allocations: 0.5702 MB / 454.5 MB, free: 9.562 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003412/0.3924, allocations: 2.525 MB / 457 MB, free: 8.766 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.3936, allocations: 0.5717 MB / 457.6 MB, free: 8.734 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008208/0.3944, allocations: 484.7 kB / 458 MB, free: 8.727 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007541/0.4019, allocations: 7.495 MB / 465.5 MB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008165/0.4027, allocations: 381.3 kB / 465.9 MB, free: 2.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 2.765e-06/0.4027, allocations: 4.219 kB / 465.9 MB, free: 2.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.005861/0.4086, allocations: 2.061 MB / 468 MB, free: 2.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.4087, allocations: 90.06 kB / 468.1 MB, free: 2.203 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.4104, allocations: 1.441 MB / 469.5 MB, free: 1.934 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.012e-05/0.4104, allocations: 37.83 kB / 469.5 MB, free: 1.895 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004687/0.4109, allocations: 0.8046 MB / 470.3 MB, free: 1.246 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.411, allocations: 234.9 kB / 470.6 MB, free: 1.066 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/0.4112, allocations: 141.4 kB / 470.7 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.993e-05/0.4113, allocations: 335.1 kB / 471 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006551/0.4119, allocations: 254.3 kB / 471.3 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006309/0.4125, allocations: 454.3 kB / 471.7 MB, free: 284 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.4138, allocations: 0.733 MB / 472.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.4138, allocations: 1.188 kB / 472.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002142/0.416, allocations: 1.116 MB / 473.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.416, allocations: 9.25 kB / 473.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001043/0.4161, allocations: 74.78 kB / 473.7 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.4174, allocations: 0.6992 MB / 474.4 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004524/0.4178, allocations: 116 kB / 474.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.4193, allocations: 1.129 MB / 475.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007963/0.4201, allocations: 87.94 kB / 475.7 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.616e-05/0.4202, allocations: 37.66 kB / 475.7 MB, free: 14.39 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.0005825/0.4208, allocations: 289 kB / 476 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002951/0.4211, allocations: 212.2 kB / 476.2 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002495/0.4236, allocations: 1.058 MB / 477.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.4236, allocations: 5.938 kB / 477.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.4236, allocations: 5.062 kB / 477.3 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.4236, allocations: 7.438 kB / 477.3 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.425, allocations: 0.9656 MB / 478.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.883e-05/0.4251, allocations: 67.38 kB / 478.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/0.4255, allocations: 62.28 kB / 478.4 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001059/0.4265, allocations: 0.6641 MB / 479.1 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.307e-05/0.4266, allocations: 21.3 kB / 479.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/0.428, allocations: 1.094 MB / 480.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.428, allocations: 5.75 kB / 480.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002671/0.4306, allocations: 1.332 MB / 481.5 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004893/0.4311, allocations: 288.8 kB / 481.8 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.4313, allocations: 16.94 kB / 481.8 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004698/0.4317, allocations: 37.53 kB / 481.8 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.4319, allocations: 48.23 kB / 481.9 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.455e-05/0.4319, allocations: 25.95 kB / 481.9 MB, free: 11.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001453/0.4334, allocations: 0.9441 MB / 482.9 MB, free: 10.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4334, allocations: 0 / 482.9 MB, free: 10.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001047/0.4344, allocations: 442.4 kB / 483.3 MB, free: 10.89 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.003656/0.4381, allocations: 2.248 MB / 485.5 MB, free: 9.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002051/0.4401, allocations: 0.8098 MB / 486.3 MB, free: 9.238 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4401, allocations: 0 / 486.3 MB, free: 9.238 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.4413, allocations: 499.4 kB / 486.8 MB, free: 9.008 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.4424, allocations: 211.1 kB / 487 MB, free: 8.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/0.4603, allocations: 10.72 MB / 497.8 MB, free: 15.74 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008935/0.4612, allocations: 1.216 MB / 499 MB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004546/0.4617, allocations: 163.8 kB / 499.1 MB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006876/0.4623, allocations: 0.6208 MB / 499.8 MB, free: 13.71 MB / 398.1 MB Notification: Performance of SimCode: time 1.011e-06/0.4623, allocations: 0 / 499.8 MB, free: 13.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07121/0.5336, allocations: 32.7 MB / 0.52 GB, free: 13.35 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/15.55, allocations: 11.81 kB / 0.52 GB, free: 13.34 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: 17.92143121996196] 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'] 15.719505254004616 15.734422057 15.350126148 Calling exit ...