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.0009283/0.0009284, allocations: 100.4 kB / 17.01 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001139/0.001139, allocations: 194.7 kB / 17.91 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002503/0.0002504, allocations: 4 kB / 306.8 MB, free: 1.484 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1009, allocations: 51.49 MB / 358.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.00666/0.1076, allocations: 7.309 MB / 365.6 MB, free: 6.652 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1963/0.3039, allocations: 10.38 MB / 376 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.3053, allocations: 19.47 kB / 376 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002294/0.3077, allocations: 0.6728 MB / 376.7 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004352/0.312, allocations: 0.9414 MB / 377.6 MB, free: 8.387 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.3142, allocations: 485.5 kB / 378.1 MB, free: 8.316 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004739/0.3189, allocations: 2.489 MB / 380.6 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006387/0.3196, allocations: 308.6 kB / 380.9 MB, free: 7.648 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.3208, allocations: 492.5 kB / 381.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007677/0.3216, allocations: 0.5551 MB / 381.9 MB, free: 7.305 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.3217, allocations: 36.19 kB / 382 MB, free: 7.305 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/0.3241, allocations: 0.7083 MB / 382.7 MB, free: 7.285 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002599/0.3244, allocations: 174.9 kB / 382.9 MB, free: 7.219 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005483/0.3249, allocations: 347.1 kB / 383.2 MB, free: 7.125 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002512/0.3274, allocations: 1.522 MB / 384.7 MB, free: 6.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.3275, allocations: 1.422 kB / 384.7 MB, free: 6.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.3275, allocations: 1.156 kB / 384.7 MB, free: 6.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.575e-05/0.3275, allocations: 0 / 384.7 MB, free: 6.93 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.003879/0.3314, allocations: 2.002 MB / 386.7 MB, free: 5.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.3315, allocations: 8.562 kB / 386.7 MB, free: 5.73 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001721/0.3317, allocations: 104.8 kB / 386.8 MB, free: 5.691 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004898/0.3322, allocations: 240.4 kB / 387.1 MB, free: 5.578 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002395/0.3346, allocations: 1.222 MB / 388.3 MB, free: 5.137 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.391e-05/0.3346, allocations: 40.12 kB / 388.3 MB, free: 5.137 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.3347, allocations: 57.17 kB / 388.4 MB, free: 5.137 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.3361, allocations: 0.7097 MB / 389.1 MB, free: 5.062 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.3362, allocations: 0 / 389.1 MB, free: 5.062 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.239e-05/0.3363, allocations: 22.72 kB / 389.1 MB, free: 5.062 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-05/0.3363, allocations: 22.47 kB / 389.1 MB, free: 5.062 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.3376, allocations: 0.6122 MB / 389.7 MB, free: 5.047 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003712/0.3413, allocations: 2.532 MB / 392.3 MB, free: 3.879 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.3426, allocations: 0.659 MB / 392.9 MB, free: 3.766 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008805/0.3435, allocations: 0.5727 MB / 393.5 MB, free: 3.684 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007028/0.3505, allocations: 5.905 MB / 399.4 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008598/0.3514, allocations: 424.9 kB / 399.8 MB, free: 14.14 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 3.286e-06/0.3515, allocations: 4 kB / 399.8 MB, free: 14.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.006512/0.358, allocations: 2.413 MB / 402.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.107e-05/0.3581, allocations: 88.92 kB / 402.3 MB, free: 12.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/0.3601, allocations: 1.412 MB / 403.7 MB, free: 11.99 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.3602, allocations: 37.42 kB / 403.8 MB, free: 11.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007038/0.3609, allocations: 0.7875 MB / 404.6 MB, free: 11.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/0.3612, allocations: 247.3 kB / 404.8 MB, free: 11.04 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.3612, allocations: 15.22 kB / 404.8 MB, free: 11.03 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3614, allocations: 340.3 kB / 405.2 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006056/0.362, allocations: 283 kB / 405.4 MB, free: 10.56 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006864/0.3627, allocations: 462.1 kB / 405.9 MB, free: 10.04 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006632/0.3634, allocations: 340.1 kB / 406.2 MB, free: 9.711 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.3634, allocations: 3.938 kB / 406.2 MB, free: 9.707 MB / 318.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002336/0.3657, allocations: 1.211 MB / 407.4 MB, free: 8.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.3658, allocations: 10.41 kB / 407.4 MB, free: 8.473 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001262/0.3659, allocations: 80 kB / 407.5 MB, free: 8.395 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.367, allocations: 0.5941 MB / 408.1 MB, free: 7.801 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006072/0.3676, allocations: 147.8 kB / 408.3 MB, free: 7.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.3692, allocations: 1.523 MB / 409.8 MB, free: 6.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.3703, allocations: 95.25 kB / 409.9 MB, free: 5.992 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-05/0.3704, allocations: 36 kB / 409.9 MB, free: 5.957 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.0007151/0.3711, allocations: 304.3 kB / 410.2 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002823/0.3714, allocations: 197.7 kB / 410.4 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/0.3739, allocations: 1.206 MB / 411.6 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.3739, allocations: 4 kB / 411.6 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3739, allocations: 3.984 kB / 411.6 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.3739, allocations: 0 / 411.6 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.3753, allocations: 0.9995 MB / 412.6 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001069/0.3755, allocations: 68 kB / 412.7 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003861/0.3758, allocations: 79.94 kB / 412.8 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001113/0.377, allocations: 0.663 MB / 413.4 MB, free: 2.383 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.517e-05/0.377, allocations: 19.94 kB / 413.4 MB, free: 2.367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/0.3783, allocations: 1.138 MB / 414.6 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3784, allocations: 0 / 414.6 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002691/0.381, allocations: 1.503 MB / 416.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000529/0.3816, allocations: 288.9 kB / 416.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.3818, allocations: 19.94 kB / 416.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/0.3822, allocations: 43.97 kB / 416.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.3823, allocations: 56.48 kB / 416.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/0.3824, allocations: 23.98 kB / 416.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001261/0.3837, allocations: 0.9211 MB / 417.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3837, allocations: 0 / 417.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001182/0.3849, allocations: 435.5 kB / 417.8 MB, free: 13.86 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.00381/0.3887, allocations: 2.396 MB / 420.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001931/0.3906, allocations: 0.9192 MB / 421.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3907, allocations: 3.938 kB / 421.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.3919, allocations: 0.5877 MB / 421.8 MB, free: 9.949 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.3932, allocations: 206.6 kB / 422 MB, free: 9.746 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02276/0.4159, allocations: 9.998 MB / 432 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.417, allocations: 1.228 MB / 433.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007263/0.4178, allocations: 158.2 kB / 433.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008115/0.4186, allocations: 0.6516 MB / 434 MB, free: 12.86 MB / 350.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4186, allocations: 0 / 434 MB, free: 12.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05517/0.4738, allocations: 30.78 MB / 464.8 MB, free: 14.31 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/0.474, allocations: 232.5 kB / 465 MB, free: 14.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.01/3.484, allocations: 0 / 465 MB, free: 14.07 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