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.00121/0.00121, allocations: 172 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007977/0.0007978, allocations: 86.64 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.481e-05/2.482e-05, allocations: 4 kB / 322.6 MB, free: 17.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0816/0.08164, allocations: 47.57 MB / 370.1 MB, free: 1.598 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.28/0.3617, allocations: 77.63 MB / 447.8 MB, free: 15.65 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000198/0.362, allocations: 80.95 kB / 447.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01049/0.3725, allocations: 4.111 MB / 452 MB, free: 12.08 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3725, allocations: 0 / 452 MB, free: 12.08 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.3725, allocations: 4 kB / 452 MB, free: 12.07 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.0006199/0.3732, allocations: 0.4991 MB / 452.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3732, allocations: 8.031 kB / 452.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.697e-05/0.3733, allocations: 62.05 kB / 452.5 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.3734, allocations: 31.62 kB / 452.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.3737, allocations: 251.3 kB / 452.8 MB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.3737, allocations: 22.33 kB / 452.8 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.3737, allocations: 23.5 kB / 452.8 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.3741, allocations: 198.5 kB / 453 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3741, allocations: 0 / 453 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.3741, allocations: 11.81 kB / 453 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3741, allocations: 4 kB / 453.1 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.3744, allocations: 155.8 kB / 453.2 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.3758, allocations: 0.9709 MB / 454.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003519/0.3762, allocations: 168.3 kB / 454.3 MB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.3764, allocations: 123.5 kB / 454.5 MB, free: 9.797 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.3765, allocations: 0 / 454.5 MB, free: 9.797 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.3765, allocations: 38.44 kB / 454.5 MB, free: 9.754 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.031e-06/0.3765, allocations: 0 / 454.5 MB, free: 9.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005694/0.3771, allocations: 225 kB / 454.7 MB, free: 9.559 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.3771, allocations: 58.8 kB / 454.8 MB, free: 9.492 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.3773, allocations: 204.2 kB / 455 MB, free: 9.316 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.3773, allocations: 25.7 kB / 455 MB, free: 9.285 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.125e-05/0.3774, allocations: 168.8 kB / 455.2 MB, free: 9.141 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.3775, allocations: 53.97 kB / 455.2 MB, free: 9.094 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/0.3775, allocations: 7.375 kB / 455.2 MB, free: 9.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.3776, allocations: 326.4 kB / 455.5 MB, free: 8.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.912e-05/0.3777, allocations: 45.62 kB / 455.6 MB, free: 8.742 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.3778, allocations: 93.06 kB / 455.7 MB, free: 8.652 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.75e-05/0.3779, allocations: 61.97 kB / 455.7 MB, free: 8.613 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.3779, allocations: 4 kB / 455.7 MB, free: 8.609 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005835/0.3785, allocations: 300.1 kB / 456 MB, free: 8.355 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002088/0.3787, allocations: 0.6115 MB / 456.6 MB, free: 7.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3787, allocations: 0 / 456.6 MB, free: 7.707 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002037/0.3789, allocations: 55.2 kB / 456.7 MB, free: 7.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.3791, allocations: 35.92 kB / 456.7 MB, free: 7.625 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007142/0.3798, allocations: 0.6654 MB / 457.4 MB, free: 6.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.38, allocations: 34.42 kB / 457.4 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.38, allocations: 7.375 kB / 457.4 MB, free: 6.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.196e-06/0.38, allocations: 4 kB / 457.4 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002655/0.3803, allocations: 169.3 kB / 457.6 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3803, allocations: 4 kB / 457.6 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.887e-05/0.3804, allocations: 24.28 kB / 457.6 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.3806, allocations: 43.3 kB / 457.7 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009052/0.3815, allocations: 1.299 MB / 459 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.3816, allocations: 15.78 kB / 459 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.3816, allocations: 19.52 kB / 459 MB, free: 5.328 MB / 330.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 7.955e-05/0.3817, allocations: 120.2 kB / 459.1 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.3818, allocations: 15.81 kB / 459.1 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.463e-05/0.3818, allocations: 20.8 kB / 459.2 MB, free: 5.184 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3818, allocations: 11.98 kB / 459.2 MB, free: 5.172 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.3818, allocations: 0 / 459.2 MB, free: 5.172 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3818, allocations: 3.984 kB / 459.2 MB, free: 5.168 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008478/0.3827, allocations: 0.5941 MB / 459.8 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3827, allocations: 0 / 459.8 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.3828, allocations: 27.86 kB / 459.8 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001312/0.383, allocations: 56.83 kB / 459.9 MB, free: 4.508 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.383, allocations: 4 kB / 459.9 MB, free: 4.504 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.3849, allocations: 1.754 MB / 461.6 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3849, allocations: 0 / 461.6 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00064/0.3856, allocations: 400.9 kB / 462 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.559e-05/0.3856, allocations: 92.89 kB / 462.1 MB, free: 2.094 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.3857, allocations: 11.98 kB / 462.1 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.3859, allocations: 24.05 kB / 462.1 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.3859, allocations: 11.98 kB / 462.1 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.3859, allocations: 4 kB / 462.2 MB, free: 2.043 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.3861, allocations: 155.2 kB / 462.3 MB, free: 1.891 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3861, allocations: 0 / 462.3 MB, free: 1.891 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004363/0.3865, allocations: 119.7 kB / 462.4 MB, free: 1.773 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.0008865/0.3874, allocations: 0.9315 MB / 463.4 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008341/0.3882, allocations: 415.9 kB / 463.8 MB, free: 404 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3883, allocations: 0 / 463.8 MB, free: 404 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005114/0.3888, allocations: 262.6 kB / 464 MB, free: 128 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.3891, allocations: 36.64 kB / 464.1 MB, free: 84 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.3913, allocations: 0.7311 MB / 464.8 MB, free: 15.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.3916, allocations: 0.7448 MB / 465.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.3917, allocations: 30.06 kB / 465.6 MB, free: 14.51 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.208e-05/0.3918, allocations: 67.41 kB / 465.6 MB, free: 14.45 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3918, allocations: 3.938 kB / 465.6 MB, free: 14.45 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.4085, allocations: 4.841 MB / 470.5 MB, free: 9.605 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/0.4087, allocations: 193.5 kB / 470.7 MB, free: 9.379 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.024, allocations: 0 / 470.7 MB, free: 9.379 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