Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001093/0.001093, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008824/0.0008824, allocations: 90.27 kB / 292.1 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.084e-05/4.093e-05, allocations: 11.98 kB / 350.7 MB, free: 2.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1181, allocations: 51.49 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3753/0.4935, allocations: 79.69 MB / 481.8 MB, free: 9.723 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.4938, allocations: 77.33 kB / 481.9 MB, free: 9.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01089/0.5047, allocations: 4.336 MB / 486.2 MB, free: 6.027 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5047, allocations: 0 / 486.2 MB, free: 6.027 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.863e-05/0.5048, allocations: 4 kB / 486.2 MB, free: 6.023 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006076/0.5054, allocations: 0.5007 MB / 486.7 MB, free: 5.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.5054, allocations: 8.031 kB / 486.8 MB, free: 5.492 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.41e-05/0.5055, allocations: 57.92 kB / 486.8 MB, free: 5.441 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/0.5055, allocations: 27.62 kB / 486.8 MB, free: 5.414 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.5058, allocations: 247.2 kB / 487.1 MB, free: 5.152 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.5059, allocations: 23.55 kB / 487.1 MB, free: 5.141 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.5059, allocations: 19.81 kB / 487.1 MB, free: 5.129 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003064/0.5062, allocations: 202.4 kB / 487.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.5062, allocations: 3.984 kB / 487.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.5062, allocations: 11.56 kB / 487.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-06/0.5063, allocations: 4 kB / 487.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.5065, allocations: 148.1 kB / 487.5 MB, free: 4.879 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.5078, allocations: 0.9703 MB / 488.4 MB, free: 3.984 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.5082, allocations: 167.1 kB / 488.6 MB, free: 3.863 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.5085, allocations: 114.2 kB / 488.7 MB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.5085, allocations: 288 / 488.7 MB, free: 3.777 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.5085, allocations: 39.94 kB / 488.8 MB, free: 3.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.973e-06/0.5085, allocations: 3.812 kB / 488.8 MB, free: 3.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005553/0.5091, allocations: 231.5 kB / 489 MB, free: 3.531 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.5091, allocations: 55.36 kB / 489 MB, free: 3.465 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.5093, allocations: 198.6 kB / 489.2 MB, free: 3.297 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.5093, allocations: 33.19 kB / 489.3 MB, free: 3.262 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.718e-05/0.5094, allocations: 161.4 kB / 489.4 MB, free: 3.121 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.5094, allocations: 50.61 kB / 489.5 MB, free: 3.078 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-06/0.5094, allocations: 3.5 kB / 489.5 MB, free: 3.078 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.81e-05/0.5095, allocations: 330.7 kB / 489.8 MB, free: 2.754 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.483e-05/0.5096, allocations: 49.81 kB / 489.9 MB, free: 2.723 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.36e-05/0.5097, allocations: 96.09 kB / 489.9 MB, free: 2.629 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.219e-05/0.5098, allocations: 59.91 kB / 490 MB, free: 2.594 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5098, allocations: 3.938 kB / 490 MB, free: 2.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005396/0.5103, allocations: 295.1 kB / 490.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.5104, allocations: 0.6133 MB / 490.9 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.5105, allocations: 4 kB / 490.9 MB, free: 1.688 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002212/0.5107, allocations: 50.58 kB / 491 MB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.5108, allocations: 45.92 kB / 491 MB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006284/0.5115, allocations: 0.6553 MB / 491.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.5117, allocations: 31.91 kB / 491.7 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.5117, allocations: 8 kB / 491.7 MB, free: 0.918 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.685e-06/0.5117, allocations: 7.984 kB / 491.7 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002741/0.512, allocations: 170.2 kB / 491.9 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.512, allocations: 0 / 491.9 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.447e-05/0.512, allocations: 20.42 kB / 491.9 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.5122, allocations: 57.2 kB / 492 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008268/0.513, allocations: 1.306 MB / 493.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.5132, allocations: 19.16 kB / 493.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.5132, allocations: 21.08 kB / 493.3 MB, free: 15.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 9.974e-05/0.5133, allocations: 112.2 kB / 493.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.418e-05/0.5134, allocations: 15.81 kB / 493.4 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.52e-05/0.5134, allocations: 25.58 kB / 493.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.5134, allocations: 4 kB / 493.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.5135, allocations: 0 / 493.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.5135, allocations: 0 / 493.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009735/0.5144, allocations: 0.5951 MB / 494 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.5145, allocations: 4 kB / 494.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.5146, allocations: 19.98 kB / 494.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001421/0.5147, allocations: 47.7 kB / 494.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.5148, allocations: 4 kB / 494.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/0.5168, allocations: 1.773 MB / 495.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5168, allocations: 0 / 495.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006691/0.5175, allocations: 396.6 kB / 496.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.685e-05/0.5176, allocations: 90.55 kB / 496.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.5177, allocations: 4.5 kB / 496.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.5179, allocations: 19.98 kB / 496.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.5179, allocations: 20.05 kB / 496.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.5179, allocations: 0.5625 kB / 496.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001579/0.5181, allocations: 163.5 kB / 496.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5181, allocations: 0 / 496.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005205/0.5186, allocations: 119.7 kB / 496.7 MB, free: 11.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001033/0.5197, allocations: 0.9329 MB / 497.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009841/0.5207, allocations: 418.8 kB / 498 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5207, allocations: 0 / 498 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005387/0.5212, allocations: 259.2 kB / 498.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.5216, allocations: 32.66 kB / 498.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.524, allocations: 0.735 MB / 499.1 MB, free: 9.445 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.5243, allocations: 0.7486 MB / 499.8 MB, free: 8.664 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001436/0.5245, allocations: 30.06 kB / 499.8 MB, free: 8.633 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.5246, allocations: 71.41 kB / 499.9 MB, free: 8.562 MB / 362.7 MB Notification: Performance of SimCode: time 1.643e-06/0.5246, allocations: 0 / 499.9 MB, free: 8.562 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.5456, allocations: 4.828 MB / 0.4929 GB, free: 4.016 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/0.5459, allocations: 198.1 kB / 0.4931 GB, free: 3.789 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.431, allocations: 0 / 0.4931 GB, free: 3.789 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat does not exist to compare? outputFormat=mat