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.0009966/0.0009966, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.183/1.183, allocations: 227.2 MB / 245 MB, free: 7.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008381/0.000838, allocations: 95.73 kB / 297.2 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002002/0.0002003, allocations: 12 kB / 358 MB, free: 9.426 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1749, allocations: 51.49 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08471/0.2597, allocations: 79.76 MB / 489.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001791/0.2599, allocations: 79.95 kB / 489.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01095/0.2708, allocations: 4.332 MB / 493.7 MB, free: 6.434 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2709, allocations: 0 / 493.7 MB, free: 6.434 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.2709, allocations: 12 kB / 493.7 MB, free: 6.422 MB / 362.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.0006661/0.2715, allocations: 0.5223 MB / 494.2 MB, free: 5.852 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.2716, allocations: 16.03 kB / 494.2 MB, free: 5.836 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.547e-05/0.2717, allocations: 62.53 kB / 494.3 MB, free: 5.766 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.19e-05/0.2717, allocations: 23.72 kB / 494.3 MB, free: 5.742 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.272, allocations: 251.6 kB / 494.6 MB, free: 5.457 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.272, allocations: 16.52 kB / 494.6 MB, free: 5.441 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.2721, allocations: 31.84 kB / 494.6 MB, free: 5.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004061/0.2725, allocations: 220.9 kB / 494.8 MB, free: 5.184 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.2725, allocations: 0 / 494.8 MB, free: 5.184 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.2725, allocations: 12 kB / 494.8 MB, free: 5.172 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2725, allocations: 4 kB / 494.8 MB, free: 5.168 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003956/0.2729, allocations: 190.2 kB / 495 MB, free: 4.984 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.2744, allocations: 0.9661 MB / 496 MB, free: 3.934 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005892/0.275, allocations: 234.6 kB / 496.2 MB, free: 3.695 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.2751, allocations: 3.953 kB / 496.2 MB, free: 3.691 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.2751, allocations: 38.56 kB / 496.3 MB, free: 3.645 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.2751, allocations: 7.938 kB / 496.3 MB, free: 3.637 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.00167/0.2768, allocations: 0.5905 MB / 496.9 MB, free: 3.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.2768, allocations: 55.34 kB / 496.9 MB, free: 2.953 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.277, allocations: 202.3 kB / 497.1 MB, free: 2.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.277, allocations: 25.7 kB / 497.1 MB, free: 2.719 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.8e-05/0.2771, allocations: 167.8 kB / 497.3 MB, free: 2.551 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.863e-05/0.2772, allocations: 55.2 kB / 497.4 MB, free: 2.496 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-06/0.2772, allocations: 8 kB / 497.4 MB, free: 2.488 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2773, allocations: 330.8 kB / 497.7 MB, free: 2.156 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.2775, allocations: 67.95 kB / 497.8 MB, free: 2.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.2776, allocations: 121.8 kB / 497.9 MB, free: 1.949 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.2778, allocations: 74.22 kB / 497.9 MB, free: 1.879 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2778, allocations: 4 kB / 498 MB, free: 1.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007446/0.2786, allocations: 338.2 kB / 498.3 MB, free: 1.535 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002245/0.2788, allocations: 0.6249 MB / 498.9 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2788, allocations: 0 / 498.9 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003255/0.2792, allocations: 84.8 kB / 499 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.2793, allocations: 35.98 kB / 499 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008791/0.2802, allocations: 0.7045 MB / 499.7 MB, free: 12 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.2804, allocations: 31.88 kB / 499.8 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.2804, allocations: 8 kB / 499.8 MB, free: 15.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.094e-06/0.2804, allocations: 4 kB / 499.8 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002657/0.2807, allocations: 179.4 kB / 499.9 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.2807, allocations: 4 kB / 500 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.072e-05/0.2808, allocations: 16.84 kB / 500 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.281, allocations: 47.92 kB / 0.4883 GB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000878/0.2818, allocations: 1.312 MB / 0.4896 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.282, allocations: 15.88 kB / 0.4896 GB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.282, allocations: 12 kB / 0.4896 GB, free: 14.25 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.000149/0.2821, allocations: 213 kB / 0.4898 GB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.2822, allocations: 23.86 kB / 0.4898 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.328e-05/0.2822, allocations: 25.53 kB / 0.4899 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.2822, allocations: 4 kB / 0.4899 GB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.2823, allocations: 64 / 0.4899 GB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.2823, allocations: 7.984 kB / 0.4899 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002945/0.2826, allocations: 285.4 kB / 0.4901 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2826, allocations: 3.984 kB / 0.4901 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.2827, allocations: 19.98 kB / 0.4902 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002885/0.283, allocations: 76.81 kB / 0.4902 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.283, allocations: 4 kB / 0.4902 GB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/0.2852, allocations: 1.787 MB / 0.492 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2852, allocations: 0 / 0.492 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008351/0.2861, allocations: 463.1 kB / 0.4924 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.2861, allocations: 88.95 kB / 0.4925 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.2862, allocations: 11.89 kB / 0.4925 GB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.2864, allocations: 24.05 kB / 0.4925 GB, free: 11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.2864, allocations: 19.98 kB / 0.4926 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.2864, allocations: 15.98 kB / 0.4926 GB, free: 10.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001268/0.2866, allocations: 156.6 kB / 0.4927 GB, free: 10.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2866, allocations: 0 / 0.4927 GB, free: 10.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004574/0.287, allocations: 111.7 kB / 0.4928 GB, free: 10.71 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00112/0.2882, allocations: 1.002 MB / 0.4938 GB, free: 9.676 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009309/0.2891, allocations: 450.6 kB / 0.4942 GB, free: 9.223 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2891, allocations: 0 / 0.4942 GB, free: 9.223 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.2894, allocations: 198.6 kB / 0.4944 GB, free: 9.016 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.2897, allocations: 41.08 kB / 0.4945 GB, free: 8.973 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.2923, allocations: 2.366 MB / 0.4968 GB, free: 6.523 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.2926, allocations: 0.7481 MB / 0.4975 GB, free: 5.746 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.2927, allocations: 25.92 kB / 0.4975 GB, free: 5.719 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.338e-05/0.2928, allocations: 67.41 kB / 0.4976 GB, free: 5.652 MB / 378.7 MB Notification: Performance of SimCode: time 3.056e-06/0.2928, allocations: 8 kB / 0.4976 GB, free: 5.645 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/0.3086, allocations: 4.617 MB / 0.5021 GB, free: 1.227 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/0.3088, allocations: 223.3 kB / 0.5023 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/1.941, allocations: 64 / 0.5023 GB, free: 0.9844 MB / 378.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