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.001629/0.001629, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001953/0.001953, allocations: 188.4 kB / 24.49 MB, free: 3.98 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.319/1.319, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 179] 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.001388/0.001388, allocations: 47.92 kB / 371.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2228, allocations: 52.18 MB / 423.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.008047/0.2308, allocations: 7.133 MB / 430.5 MB, free: 7.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01209/0.2429, allocations: 9.806 MB / 440.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.2439, allocations: 91.06 kB / 440.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00181/0.2458, allocations: 0.7714 MB / 441.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003467/0.2492, allocations: 1.241 MB / 442.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.251, allocations: 0.707 MB / 443.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003736/0.2547, allocations: 2.699 MB / 445.8 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003975/0.2551, allocations: 234.2 kB / 446 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007761/0.2559, allocations: 0.5833 MB / 446.6 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007071/0.2566, allocations: 0.625 MB / 447.2 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.2567, allocations: 64 kB / 447.3 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.2582, allocations: 0.7337 MB / 448 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.2584, allocations: 222.6 kB / 448.3 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005386/0.259, allocations: 0.5745 MB / 448.8 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002229/0.2612, allocations: 2.158 MB / 451 MB, free: 2.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2612, allocations: 4 kB / 451 MB, free: 2.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2612, allocations: 0 / 451 MB, free: 2.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.656e-05/0.2612, allocations: 0 / 451 MB, free: 2.594 MB / 350.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.003055/0.2643, allocations: 2.205 MB / 453.2 MB, free: 348 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2643, allocations: 12.03 kB / 453.2 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.334e-05/0.2643, allocations: 13.5 kB / 453.2 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001114/0.2644, allocations: 102.7 kB / 453.3 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/0.2647, allocations: 233.4 kB / 453.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/0.2665, allocations: 1.225 MB / 454.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.956e-05/0.2665, allocations: 41.31 kB / 454.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.2666, allocations: 59.98 kB / 454.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.2679, allocations: 0.7112 MB / 455.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.2679, allocations: 4 kB / 455.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-05/0.268, allocations: 23.94 kB / 455.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.268, allocations: 19.94 kB / 455.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.2693, allocations: 0.5712 MB / 456.2 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003334/0.2726, allocations: 2.339 MB / 458.5 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.2737, allocations: 0.5752 MB / 459.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008242/0.2746, allocations: 490.1 kB / 459.6 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006614/0.2812, allocations: 2.906 MB / 462.5 MB, free: 6.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007947/0.282, allocations: 386.5 kB / 462.9 MB, free: 6.379 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 2.565e-06/0.282, allocations: 0 / 462.9 MB, free: 6.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.005404/0.2874, allocations: 1.977 MB / 464.9 MB, free: 4.395 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.2875, allocations: 89.48 kB / 464.9 MB, free: 4.289 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.2891, allocations: 1.443 MB / 466.4 MB, free: 2.809 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.2891, allocations: 33.7 kB / 466.4 MB, free: 2.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007167/0.2899, allocations: 0.8063 MB / 467.2 MB, free: 1.957 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.2901, allocations: 237.9 kB / 467.5 MB, free: 1.723 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.2903, allocations: 142.6 kB / 467.6 MB, free: 1.578 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2904, allocations: 333.9 kB / 467.9 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005824/0.291, allocations: 249.9 kB / 468.2 MB, free: 1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007558/0.2918, allocations: 487.9 kB / 468.6 MB, free: 444 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.2931, allocations: 0.7363 MB / 469.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2931, allocations: 0 / 469.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002006/0.2951, allocations: 1.109 MB / 470.5 MB, free: 14.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.2951, allocations: 8 kB / 470.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/0.2952, allocations: 79.98 kB / 470.6 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001196/0.2964, allocations: 0.6914 MB / 471.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004496/0.2969, allocations: 111.8 kB / 471.4 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.2982, allocations: 1.124 MB / 472.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000599/0.2988, allocations: 99.42 kB / 472.6 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.149e-05/0.2989, allocations: 39.94 kB / 472.6 MB, free: 12.32 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.000472/0.2994, allocations: 287.2 kB / 472.9 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/0.2996, allocations: 206.7 kB / 473.1 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/0.3017, allocations: 1.07 MB / 474.2 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.3017, allocations: 8 kB / 474.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3018, allocations: 0 / 474.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3018, allocations: 0 / 474.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.3028, allocations: 0.8775 MB / 475.1 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-05/0.3029, allocations: 64 kB / 475.1 MB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.3032, allocations: 63.92 kB / 475.2 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001092/0.3043, allocations: 0.6554 MB / 475.9 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/0.3044, allocations: 16 kB / 475.9 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.3057, allocations: 1.1 MB / 477 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3057, allocations: 4.062 kB / 477 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.3081, allocations: 1.338 MB / 478.3 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003728/0.3085, allocations: 218.6 kB / 478.5 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.3087, allocations: 8 kB / 478.5 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004519/0.3091, allocations: 35.95 kB / 478.6 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.3093, allocations: 48.36 kB / 478.6 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-05/0.3093, allocations: 35.92 kB / 478.6 MB, free: 6.176 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001158/0.3105, allocations: 0.9449 MB / 479.6 MB, free: 5.211 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3105, allocations: 0 / 479.6 MB, free: 5.211 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008803/0.3114, allocations: 438.9 kB / 480 MB, free: 4.781 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.003429/0.3148, allocations: 2.241 MB / 482.3 MB, free: 2.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001891/0.3167, allocations: 0.8157 MB / 483.1 MB, free: 1.676 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3167, allocations: 0 / 483.1 MB, free: 1.676 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.3178, allocations: 490 kB / 483.6 MB, free: 1.184 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009455/0.3187, allocations: 206.9 kB / 483.8 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/0.3342, allocations: 10.71 MB / 494.5 MB, free: 5.922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005927/0.3348, allocations: 0.6377 MB / 495.1 MB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004247/0.3352, allocations: 162.1 kB / 495.3 MB, free: 5.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006711/0.3359, allocations: 0.6204 MB / 495.9 MB, free: 4.469 MB / 398.1 MB Notification: Performance of SimCode: time 1.093e-06/0.3359, allocations: 0 / 495.9 MB, free: 4.469 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06651/0.4024, allocations: 32.22 MB / 0.5157 GB, free: 4.578 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.67/16.07, allocations: 11.81 kB / 0.5157 GB, free: 4.57 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.33966860594228] 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.257763891946524 16.273393429 16.008847865 Calling exit ...