Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 221.3 MB / 235.5 MB, free: 2.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008415/0.0008417, allocations: 94.91 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.314e-05/2.316e-05, allocations: 4 kB / 343.9 MB, free: 4.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08765/0.08769, allocations: 50.41 MB / 394.4 MB, free: 1.746 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2992/0.387, allocations: 78.88 MB / 473.2 MB, free: 8.598 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.3872, allocations: 71.95 kB / 473.3 MB, free: 8.527 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01162/0.3989, allocations: 4.283 MB / 477.6 MB, free: 4.238 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3989, allocations: 0 / 477.6 MB, free: 4.238 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.3989, allocations: 8 kB / 477.6 MB, free: 4.23 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.0006342/0.3996, allocations: 0.4913 MB / 478.1 MB, free: 3.695 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3996, allocations: 8.031 kB / 478.1 MB, free: 3.688 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.731e-05/0.3997, allocations: 62.53 kB / 478.2 MB, free: 3.617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.278e-05/0.3998, allocations: 31.62 kB / 478.2 MB, free: 3.586 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.4001, allocations: 251.2 kB / 478.4 MB, free: 3.301 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.4001, allocations: 16.56 kB / 478.4 MB, free: 3.285 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.4002, allocations: 20 kB / 478.5 MB, free: 3.266 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.4005, allocations: 197 kB / 478.7 MB, free: 3.066 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.4005, allocations: 4.281 kB / 478.7 MB, free: 3.062 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.4006, allocations: 15.95 kB / 478.7 MB, free: 3.047 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.4006, allocations: 4 kB / 478.7 MB, free: 3.043 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002612/0.4008, allocations: 162.2 kB / 478.8 MB, free: 2.883 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.4026, allocations: 0.966 MB / 479.8 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004613/0.4031, allocations: 174.7 kB / 480 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/0.4033, allocations: 104.8 kB / 480.1 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.4033, allocations: 0 / 480.1 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.4033, allocations: 38.56 kB / 480.1 MB, free: 1.504 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.4034, allocations: 0 / 480.1 MB, free: 1.504 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006268/0.404, allocations: 231.9 kB / 480.3 MB, free: 1.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.404, allocations: 55.41 kB / 480.4 MB, free: 1.203 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.4043, allocations: 202 kB / 480.6 MB, free: 1 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.4043, allocations: 25.7 kB / 480.6 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.932e-05/0.4044, allocations: 171.9 kB / 480.8 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.721e-05/0.4044, allocations: 55.2 kB / 480.8 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.04e-05/0.4045, allocations: 4 kB / 480.8 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.4046, allocations: 330.8 kB / 481.2 MB, free: 416 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/0.4047, allocations: 44 kB / 481.2 MB, free: 372 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.4048, allocations: 101.9 kB / 481.3 MB, free: 248 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.4049, allocations: 56.48 kB / 481.4 MB, free: 192 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4049, allocations: 0 / 481.4 MB, free: 192 kB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006068/0.4055, allocations: 296.8 kB / 481.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002057/0.4057, allocations: 0.6212 MB / 482.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4057, allocations: 0 / 482.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002125/0.4059, allocations: 52.78 kB / 482.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.4061, allocations: 39.97 kB / 482.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007765/0.4069, allocations: 0.6577 MB / 483 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.4071, allocations: 35.72 kB / 483.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.4071, allocations: 8 kB / 483.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.4071, allocations: 4 kB / 483.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002745/0.4074, allocations: 168.8 kB / 483.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.4074, allocations: 0 / 483.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.56e-05/0.4075, allocations: 24.84 kB / 483.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.4077, allocations: 51.86 kB / 483.3 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009016/0.4086, allocations: 1.3 MB / 484.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.4087, allocations: 19.89 kB / 484.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.4087, allocations: 11.94 kB / 484.6 MB, free: 12.68 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 8.392e-05/0.4088, allocations: 116.9 kB / 484.8 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.4089, allocations: 23.8 kB / 484.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.525e-05/0.4089, allocations: 33.64 kB / 484.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4089, allocations: 4 kB / 484.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.4089, allocations: 0 / 484.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.409, allocations: 0 / 484.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008863/0.4098, allocations: 0.5894 MB / 485.4 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4099, allocations: 4 kB / 485.4 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.41, allocations: 19.98 kB / 485.4 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001316/0.4101, allocations: 52.8 kB / 485.5 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.4102, allocations: 11.98 kB / 485.5 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/0.4122, allocations: 1.752 MB / 487.2 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4122, allocations: 0 / 487.2 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006424/0.4129, allocations: 387.4 kB / 487.6 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.5e-05/0.4129, allocations: 96.88 kB / 487.7 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.413, allocations: 4 kB / 487.7 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.4132, allocations: 28 kB / 487.8 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.4132, allocations: 15.98 kB / 487.8 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.4132, allocations: 3.938 kB / 487.8 MB, free: 9.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001499/0.4134, allocations: 160.6 kB / 487.9 MB, free: 9.164 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4134, allocations: 0 / 487.9 MB, free: 9.164 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005009/0.4139, allocations: 115.7 kB / 488 MB, free: 9.051 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.001046/0.415, allocations: 0.9316 MB / 489 MB, free: 8.086 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009409/0.4159, allocations: 418.7 kB / 489.4 MB, free: 7.668 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4159, allocations: 128 / 489.4 MB, free: 7.668 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000519/0.4165, allocations: 258.4 kB / 489.6 MB, free: 7.402 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.4168, allocations: 40.59 kB / 489.7 MB, free: 7.355 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.4192, allocations: 0.7342 MB / 490.4 MB, free: 6.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.4196, allocations: 0.7487 MB / 491.2 MB, free: 5.812 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001392/0.4197, allocations: 34.05 kB / 491.2 MB, free: 5.777 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.744e-05/0.4198, allocations: 63.42 kB / 491.3 MB, free: 5.719 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4198, allocations: 0 / 491.3 MB, free: 5.719 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.4377, allocations: 4.818 MB / 496.1 MB, free: 1.066 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/0.438, allocations: 204.1 kB / 496.3 MB, free: 0.832 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/2.12, allocations: 0 / 496.3 MB, free: 0.832 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat does not exist to compare? outputFormat=mat