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.001399/0.001399, allocations: 108.6 kB / 21.22 MB, free: 0.75 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.001604/0.001604, allocations: 191.7 kB / 24.5 MB, free: 4.02 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.377/1.377, allocations: 225.6 MB / 253.3 MB, free: 13.05 MB / 206.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.00148/0.00148, allocations: 47.92 kB / 371.2 MB, free: 9.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.242, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.009099/0.2511, allocations: 8.35 MB / 431.8 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01389/0.265, allocations: 11.35 MB / 443.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.2663, allocations: 87.06 kB / 443.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002172/0.2685, allocations: 0.8479 MB / 444.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003832/0.2723, allocations: 1.249 MB / 445.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.2742, allocations: 0.7073 MB / 446 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004363/0.2786, allocations: 2.699 MB / 448.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004648/0.279, allocations: 230.2 kB / 448.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008459/0.2799, allocations: 0.5755 MB / 449.5 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007834/0.2807, allocations: 0.625 MB / 450.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.2808, allocations: 68 kB / 450.2 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.2825, allocations: 0.7805 MB / 451 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.2827, allocations: 222.6 kB / 451.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007365/0.2834, allocations: 0.7647 MB / 452 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002854/0.2863, allocations: 2.135 MB / 454.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2863, allocations: 4 kB / 454.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2863, allocations: 0 / 454.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.981e-05/0.2863, allocations: 0 / 454.1 MB, free: 15.77 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.003511/0.2899, allocations: 2.209 MB / 456.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2899, allocations: 8.031 kB / 456.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.477e-05/0.2899, allocations: 17.48 kB / 456.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/0.29, allocations: 102.7 kB / 456.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000277/0.2903, allocations: 235.5 kB / 456.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001974/0.2923, allocations: 1.223 MB / 457.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.2923, allocations: 41.31 kB / 457.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.2924, allocations: 63.94 kB / 458 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.2937, allocations: 0.6978 MB / 458.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.2938, allocations: 0 / 458.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.098e-05/0.2938, allocations: 20 kB / 458.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.2938, allocations: 16 kB / 458.7 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.2951, allocations: 0.5751 MB / 459.3 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003672/0.2988, allocations: 2.467 MB / 461.8 MB, free: 7.824 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.3, allocations: 0.576 MB / 462.4 MB, free: 7.238 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008847/0.3009, allocations: 486.2 kB / 462.8 MB, free: 6.762 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007006/0.3079, allocations: 2.972 MB / 465.8 MB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008168/0.3088, allocations: 382.5 kB / 466.2 MB, free: 3.383 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 2.635e-06/0.3088, allocations: 3.938 kB / 466.2 MB, free: 3.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.005925/0.3147, allocations: 1.985 MB / 468.2 MB, free: 1.387 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.3148, allocations: 93.55 kB / 468.3 MB, free: 1.277 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/0.3165, allocations: 1.435 MB / 469.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.368e-05/0.3166, allocations: 37.7 kB / 469.7 MB, free: 15.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007238/0.3173, allocations: 0.8102 MB / 470.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000227/0.3175, allocations: 234 kB / 470.8 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.3177, allocations: 138.6 kB / 470.9 MB, free: 14.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3179, allocations: 333.9 kB / 471.2 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006159/0.3185, allocations: 253.9 kB / 471.5 MB, free: 13.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007593/0.3192, allocations: 450.2 kB / 471.9 MB, free: 13.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.3207, allocations: 0.7363 MB / 472.7 MB, free: 12.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.3207, allocations: 11.94 kB / 472.7 MB, free: 12.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002208/0.3229, allocations: 1.106 MB / 473.8 MB, free: 11.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.3229, allocations: 12.16 kB / 473.8 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000105/0.323, allocations: 76 kB / 473.9 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.3242, allocations: 0.7069 MB / 474.6 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004581/0.3247, allocations: 111.8 kB / 474.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.3261, allocations: 1.124 MB / 475.8 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006799/0.3268, allocations: 91.48 kB / 475.9 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.766e-05/0.3268, allocations: 36 kB / 475.9 MB, free: 9.34 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.0005051/0.3273, allocations: 297.6 kB / 476.2 MB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/0.3276, allocations: 210.7 kB / 476.4 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/0.3298, allocations: 1.054 MB / 477.5 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.3299, allocations: 11.94 kB / 477.5 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3299, allocations: 0 / 477.5 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.3299, allocations: 3.984 kB / 477.5 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.331, allocations: 0.9477 MB / 478.4 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.853e-05/0.3311, allocations: 68 kB / 478.5 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/0.3315, allocations: 59.94 kB / 478.6 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/0.3326, allocations: 0.6788 MB / 479.2 MB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.927e-05/0.3326, allocations: 20 kB / 479.3 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/0.334, allocations: 1.096 MB / 480.4 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.334, allocations: 0 / 480.4 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002651/0.3366, allocations: 1.326 MB / 481.7 MB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004273/0.337, allocations: 214.6 kB / 481.9 MB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.3372, allocations: 16.19 kB / 481.9 MB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004514/0.3377, allocations: 27.97 kB / 481.9 MB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.3378, allocations: 56.34 kB / 482 MB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.148e-05/0.3379, allocations: 20 kB / 482 MB, free: 3.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001247/0.3391, allocations: 0.9527 MB / 483 MB, free: 2.152 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3391, allocations: 0 / 483 MB, free: 2.152 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009105/0.34, allocations: 446.8 kB / 483.4 MB, free: 1.715 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.003602/0.3436, allocations: 2.251 MB / 485.6 MB, free: 15.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002016/0.3456, allocations: 0.8118 MB / 486.5 MB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3456, allocations: 4 kB / 486.5 MB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.3468, allocations: 490 kB / 486.9 MB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008979/0.3477, allocations: 214.8 kB / 487.1 MB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01635/0.3641, allocations: 10.71 MB / 497.9 MB, free: 2.844 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008552/0.3649, allocations: 1.22 MB / 499.1 MB, free: 1.594 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004817/0.3654, allocations: 162.1 kB / 499.2 MB, free: 1.434 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006968/0.3661, allocations: 0.6204 MB / 499.9 MB, free: 0.8125 MB / 398.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3661, allocations: 0 / 499.9 MB, free: 0.8125 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06826/0.4344, allocations: 33.34 MB / 0.5207 GB, free: 15.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.85/16.28, allocations: 11.89 kB / 0.5207 GB, free: 15.72 MB / 446.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.676132894994225] 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.472395856981166 16.488766451 16.19915034 Calling exit ...