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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001218/0.001219, allocations: 91.5 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001448/0.001448, allocations: 205 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 227.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002477/0.0002477, allocations: 4 kB / 306.7 MB, free: 1.25 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1043, allocations: 51.5 MB / 358.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.00619/0.1105, allocations: 6.779 MB / 365 MB, free: 6.945 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2015/0.3121, allocations: 9.934 MB / 374.9 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009518/0.3131, allocations: 16.97 kB / 374.9 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002036/0.3151, allocations: 0.7063 MB / 375.6 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003336/0.3185, allocations: 1.083 MB / 376.7 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.3204, allocations: 493.9 kB / 377.2 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004262/0.3246, allocations: 2.508 MB / 379.7 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000446/0.3251, allocations: 306.8 kB / 380 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007409/0.3259, allocations: 494.3 kB / 380.5 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006058/0.3265, allocations: 0.5516 MB / 381 MB, free: 8.184 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.189e-05/0.3266, allocations: 40.59 kB / 381.1 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.3287, allocations: 0.7352 MB / 381.8 MB, free: 8.176 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.3289, allocations: 175 kB / 382 MB, free: 8.109 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002893/0.3292, allocations: 352.5 kB / 382.3 MB, free: 8.012 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001923/0.3311, allocations: 1.491 MB / 383.8 MB, free: 7.828 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.3311, allocations: 0 / 383.8 MB, free: 7.828 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3311, allocations: 0 / 383.8 MB, free: 7.828 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.3311, allocations: 0 / 383.8 MB, free: 7.828 MB / 302.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.00326/0.3344, allocations: 1.989 MB / 385.8 MB, free: 6.633 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.3345, allocations: 9.734 kB / 385.8 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001307/0.3346, allocations: 105.7 kB / 385.9 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003956/0.335, allocations: 236.5 kB / 386.2 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.337, allocations: 1.227 MB / 387.4 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.569e-05/0.3371, allocations: 40.95 kB / 387.4 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.3372, allocations: 55.41 kB / 387.5 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.3385, allocations: 0.7096 MB / 388.2 MB, free: 5.961 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.3386, allocations: 0 / 388.2 MB, free: 5.961 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.988e-05/0.3386, allocations: 25.06 kB / 388.2 MB, free: 5.957 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.3387, allocations: 19.19 kB / 388.2 MB, free: 5.957 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.34, allocations: 0.6148 MB / 388.8 MB, free: 5.938 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003452/0.3434, allocations: 2.546 MB / 391.4 MB, free: 4.805 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.3447, allocations: 0.6577 MB / 392 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006616/0.3513, allocations: 5.93 MB / 398 MB, free: 15.56 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008168/0.3521, allocations: 419.2 kB / 398.4 MB, free: 15.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 2.264e-06/0.3521, allocations: 0 / 398.4 MB, free: 15.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.006888/0.359, allocations: 2.441 MB / 400.8 MB, free: 14.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.3591, allocations: 89.52 kB / 400.9 MB, free: 13.97 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/0.3608, allocations: 1.401 MB / 402.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.304e-05/0.3609, allocations: 37.94 kB / 402.4 MB, free: 13.14 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006418/0.3615, allocations: 0.7923 MB / 403.1 MB, free: 12.44 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.3617, allocations: 240.6 kB / 403.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.3618, allocations: 14.97 kB / 403.4 MB, free: 12.22 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3619, allocations: 338.8 kB / 403.7 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005898/0.3625, allocations: 281.9 kB / 404 MB, free: 11.76 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006955/0.3632, allocations: 466 kB / 404.5 MB, free: 11.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006681/0.3639, allocations: 340.2 kB / 404.8 MB, free: 11.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.3639, allocations: 0 / 404.8 MB, free: 11.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002216/0.3661, allocations: 1.209 MB / 406 MB, free: 10.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.3662, allocations: 6.5 kB / 406 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001137/0.3663, allocations: 84.67 kB / 406.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.3673, allocations: 0.5953 MB / 406.7 MB, free: 9.703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005811/0.3679, allocations: 147.8 kB / 406.8 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.3693, allocations: 1.527 MB / 408.4 MB, free: 7.984 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008585/0.3701, allocations: 99.23 kB / 408.4 MB, free: 7.887 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.42e-05/0.3702, allocations: 36.06 kB / 408.5 MB, free: 7.852 MB / 318.1 MB Warning: Assuming fixed start value for the following 2 variables: Q2.vbx:VARIABLE(unit = "V" fixed = true ) type: Real Q2.vbc:VARIABLE(start = 0.0 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 ($PRE.VCC.counter,VCC.counter,$PRE.VEE.counter,VEE.counter,$whenCondition2,$whenCondition1,$PRE.VCC.T0,VCC.T0,$PRE.VCC.counter2,VCC.counter2,$PRE.VEE.T0,VEE.T0,$PRE.VEE.counter2,VEE.counter2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 12,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0008239/0.3711, allocations: 301.6 kB / 408.8 MB, free: 7.547 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/0.3713, allocations: 197.7 kB / 409 MB, free: 7.352 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/0.3737, allocations: 1.217 MB / 410.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.3737, allocations: 8 kB / 410.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3737, allocations: 0 / 410.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.3737, allocations: 3.984 kB / 410.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.3749, allocations: 0.9897 MB / 411.2 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.17e-05/0.375, allocations: 83.91 kB / 411.3 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/0.3754, allocations: 83.92 kB / 411.4 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/0.3764, allocations: 0.6436 MB / 412 MB, free: 4.273 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/0.3765, allocations: 23.94 kB / 412 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.3776, allocations: 1.141 MB / 413.2 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3776, allocations: 4 kB / 413.2 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/0.3801, allocations: 1.505 MB / 414.7 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004827/0.3806, allocations: 286.6 kB / 415 MB, free: 1.254 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.3808, allocations: 12 kB / 415 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004635/0.3812, allocations: 59.84 kB / 415 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.3814, allocations: 52.48 kB / 415.1 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-05/0.3814, allocations: 24 kB / 415.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001171/0.3826, allocations: 0.925 MB / 416 MB, free: 168 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3826, allocations: 0 / 416 MB, free: 168 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.001163/0.3838, allocations: 431.4 kB / 416.4 MB, free: 15.74 MB / 334.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.003473/0.3872, allocations: 2.392 MB / 418.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001927/0.3892, allocations: 0.9148 MB / 419.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3892, allocations: 0 / 419.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.3904, allocations: 0.5668 MB / 420.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.3915, allocations: 212.2 kB / 420.5 MB, free: 11.65 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0209/0.4124, allocations: 13.06 MB / 433.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007575/0.4133, allocations: 1.259 MB / 434.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006943/0.414, allocations: 162.1 kB / 435 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006681/0.4147, allocations: 0.6477 MB / 435.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4147, allocations: 0 / 435.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07186/0.4865, allocations: 30.24 MB / 465.9 MB, free: 13.63 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.4868, allocations: 229.5 kB / 466.1 MB, free: 13.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.953/3.439, allocations: 12.2 kB / 466.1 MB, free: 13.39 MB / 382.1 MB (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/linux/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 --timeout=50 --tolerance=1e-05 Modelica_trunk_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat does not exist to compare? outputFormat=mat