Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 177 kB / 8.699 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008537/0.0008539, allocations: 86.2 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.098e-05/2.099e-05, allocations: 4 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08761/0.08765, allocations: 47.59 MB / 363.2 MB, free: 6.969 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3065/0.3942, allocations: 77.22 MB / 440.4 MB, free: 2.125 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/0.3945, allocations: 76.16 kB / 440.5 MB, free: 2.086 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01074/0.4052, allocations: 4.08 MB / 444.6 MB, free: 14.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.4053, allocations: 0 / 444.6 MB, free: 14.65 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.4053, allocations: 9.125 kB / 444.6 MB, free: 14.64 MB / 330.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.0006453/0.4059, allocations: 0.4964 MB / 445.1 MB, free: 14.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.406, allocations: 12.02 kB / 445.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.204e-05/0.4061, allocations: 27.62 kB / 445.1 MB, free: 14.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.4064, allocations: 250 kB / 445.3 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.4064, allocations: 4.344 kB / 445.3 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.4065, allocations: 15.95 kB / 445.4 MB, free: 13.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002414/0.4067, allocations: 145.7 kB / 445.5 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.407, allocations: 171.1 kB / 445.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.407, allocations: 0 / 445.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.4071, allocations: 4 kB / 445.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.4071, allocations: 8 kB / 445.7 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.4085, allocations: 0.919 MB / 446.6 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003579/0.4089, allocations: 166.8 kB / 446.8 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.4091, allocations: 100.5 kB / 446.9 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.4092, allocations: 2.875 kB / 446.9 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.4092, allocations: 42.45 kB / 446.9 MB, free: 12.47 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.4092, allocations: 0 / 446.9 MB, free: 12.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005753/0.4098, allocations: 211.2 kB / 447.1 MB, free: 12.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.4098, allocations: 51.41 kB / 447.2 MB, free: 12.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.41, allocations: 188.2 kB / 447.4 MB, free: 12.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.41, allocations: 29.7 kB / 447.4 MB, free: 12.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.826e-05/0.4101, allocations: 169 kB / 447.5 MB, free: 11.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.4102, allocations: 50.59 kB / 447.6 MB, free: 11.83 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.042e-05/0.4102, allocations: 0 / 447.6 MB, free: 11.83 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4103, allocations: 334.5 kB / 447.9 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-05/0.4104, allocations: 41.12 kB / 448 MB, free: 11.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.4105, allocations: 91.31 kB / 448.1 MB, free: 11.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.999e-05/0.4106, allocations: 53.12 kB / 448.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4106, allocations: 3.938 kB / 448.1 MB, free: 11.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006353/0.4113, allocations: 271.1 kB / 448.4 MB, free: 11.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002407/0.4115, allocations: 0.6141 MB / 449 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4115, allocations: 4 kB / 449 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002023/0.4117, allocations: 53.7 kB / 449 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.4119, allocations: 35.92 kB / 449.1 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004299/0.4123, allocations: 0.5987 MB / 449.7 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.4125, allocations: 19.84 kB / 449.7 MB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.4125, allocations: 7.75 kB / 449.7 MB, free: 9.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.306e-06/0.4126, allocations: 4 kB / 449.7 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000232/0.4128, allocations: 147 kB / 449.8 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-06/0.4128, allocations: 0 / 449.8 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.557e-05/0.4129, allocations: 24.03 kB / 449.9 MB, free: 9.629 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.413, allocations: 39.92 kB / 449.9 MB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008803/0.4139, allocations: 1.263 MB / 451.2 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.926e-05/0.414, allocations: 11.84 kB / 451.2 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.4141, allocations: 10.5 kB / 451.2 MB, free: 8.246 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real 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 0.0001523/0.4142, allocations: 117 kB / 451.3 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000479/0.4147, allocations: 216.8 kB / 451.5 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.4148, allocations: 23.75 kB / 451.5 MB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.49e-05/0.4148, allocations: 25.22 kB / 451.6 MB, free: 7.898 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.4148, allocations: 3.984 kB / 451.6 MB, free: 7.895 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.4148, allocations: 0 / 451.6 MB, free: 7.895 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.4148, allocations: 4 kB / 451.6 MB, free: 7.891 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008235/0.4157, allocations: 0.5358 MB / 452.1 MB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4157, allocations: 4 kB / 452.1 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.4158, allocations: 19.98 kB / 452.1 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001224/0.4159, allocations: 52.45 kB / 452.2 MB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.416, allocations: 0 / 452.2 MB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/0.418, allocations: 1.708 MB / 453.9 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.418, allocations: 0 / 453.9 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006115/0.4186, allocations: 373.7 kB / 454.3 MB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.4187, allocations: 96.83 kB / 454.4 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.4187, allocations: 4 kB / 454.4 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001798/0.4189, allocations: 20.05 kB / 454.4 MB, free: 5.168 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.419, allocations: 11.98 kB / 454.4 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.419, allocations: 11.86 kB / 454.4 MB, free: 5.148 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001336/0.4191, allocations: 135.5 kB / 454.5 MB, free: 5.035 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4191, allocations: 0 / 454.5 MB, free: 5.035 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006344/0.4198, allocations: 111.6 kB / 454.6 MB, free: 4.926 MB / 330.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.0009314/0.4207, allocations: 0.9086 MB / 455.6 MB, free: 4.043 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005064/0.4212, allocations: 314.9 kB / 455.9 MB, free: 3.785 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4212, allocations: 256 / 455.9 MB, free: 3.785 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005097/0.4218, allocations: 253.3 kB / 456.1 MB, free: 3.551 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.422, allocations: 21.98 kB / 456.1 MB, free: 3.535 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.4243, allocations: 0.7166 MB / 456.8 MB, free: 2.805 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.4246, allocations: 0.7445 MB / 457.6 MB, free: 2.027 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001228/0.4247, allocations: 29.83 kB / 457.6 MB, free: 2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.604e-05/0.4248, allocations: 65.84 kB / 457.7 MB, free: 1.977 MB / 330.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4248, allocations: 0 / 457.7 MB, free: 1.977 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.4488, allocations: 4.095 MB / 461.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002491/0.4491, allocations: 153.9 kB / 461.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.162, allocations: 3.938 kB / 461.9 MB, free: 13.68 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat does not exist to compare? outputFormat=mat