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.001336/0.001336, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 221.5 MB / 230.3 MB, free: 7.598 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.0008468/0.0008469, allocations: 91.25 kB / 281.2 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.857e-05/1.859e-05, allocations: 4 kB / 337.2 MB, free: 9.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09612/0.09615, allocations: 50.42 MB / 387.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3028/0.399, allocations: 78.21 MB / 465.8 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.3992, allocations: 75.95 kB / 465.9 MB, free: 448 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01094/0.4102, allocations: 4.233 MB / 470.1 MB, free: 12.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4102, allocations: 4 kB / 470.1 MB, free: 12.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.4102, allocations: 4 kB / 470.1 MB, free: 12.2 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.000635/0.4108, allocations: 0.4952 MB / 470.6 MB, free: 11.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.4109, allocations: 12.03 kB / 470.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.359e-05/0.411, allocations: 31.62 kB / 470.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.4113, allocations: 247.2 kB / 470.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.4113, allocations: 8 kB / 470.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.4113, allocations: 12 kB / 470.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002561/0.4116, allocations: 145.1 kB / 471 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.4119, allocations: 164.2 kB / 471.2 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.4119, allocations: 4 kB / 471.2 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.4119, allocations: 3.953 kB / 471.2 MB, free: 11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.412, allocations: 4 kB / 471.2 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.4134, allocations: 0.9109 MB / 472.1 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.4138, allocations: 170.7 kB / 472.3 MB, free: 9.836 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/0.414, allocations: 108.8 kB / 472.4 MB, free: 9.727 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.414, allocations: 4 kB / 472.4 MB, free: 9.723 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.4141, allocations: 31.56 kB / 472.4 MB, free: 9.684 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.4141, allocations: 0 / 472.4 MB, free: 9.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005784/0.4147, allocations: 218.4 kB / 472.6 MB, free: 9.461 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.4147, allocations: 55.41 kB / 472.7 MB, free: 9.395 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.4149, allocations: 182.3 kB / 472.9 MB, free: 9.207 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.4149, allocations: 25.7 kB / 472.9 MB, free: 9.176 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.074e-05/0.415, allocations: 163.8 kB / 473.1 MB, free: 9.012 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.415, allocations: 59.2 kB / 473.1 MB, free: 8.953 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-06/0.4151, allocations: 1.125 kB / 473.1 MB, free: 8.953 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.517e-05/0.4152, allocations: 330.8 kB / 473.4 MB, free: 8.621 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.126e-05/0.4152, allocations: 40 kB / 473.5 MB, free: 8.582 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.589e-05/0.4153, allocations: 89.94 kB / 473.6 MB, free: 8.473 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.716e-05/0.4154, allocations: 59.94 kB / 473.6 MB, free: 8.414 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4154, allocations: 0 / 473.6 MB, free: 8.414 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005661/0.416, allocations: 271.6 kB / 473.9 MB, free: 8.141 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002081/0.4162, allocations: 0.6175 MB / 474.5 MB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4162, allocations: 0 / 474.5 MB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002004/0.4164, allocations: 52.83 kB / 474.6 MB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.4166, allocations: 43.92 kB / 474.6 MB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003907/0.417, allocations: 0.5914 MB / 475.2 MB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.4172, allocations: 23.77 kB / 475.2 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.4172, allocations: 8 kB / 475.2 MB, free: 6.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.4172, allocations: 4 kB / 475.2 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002367/0.4175, allocations: 155 kB / 475.4 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.4175, allocations: 4 kB / 475.4 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.437e-05/0.4175, allocations: 20.84 kB / 475.4 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.4177, allocations: 43.92 kB / 475.5 MB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008641/0.4186, allocations: 1.269 MB / 476.7 MB, free: 5.121 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.598e-05/0.4187, allocations: 7.844 kB / 476.7 MB, free: 5.113 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.4187, allocations: 8 kB / 476.7 MB, free: 5.105 MB / 346.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.0001499/0.4189, allocations: 113.9 kB / 476.8 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000491/0.4194, allocations: 218.9 kB / 477.1 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.026e-05/0.4194, allocations: 15.81 kB / 477.1 MB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.658e-05/0.4195, allocations: 17.97 kB / 477.1 MB, free: 4.734 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.4195, allocations: 11.94 kB / 477.1 MB, free: 4.723 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4195, allocations: 3.953 kB / 477.1 MB, free: 4.719 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4195, allocations: 3.984 kB / 477.1 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000839/0.4203, allocations: 0.5434 MB / 477.7 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4204, allocations: 0 / 477.7 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.4205, allocations: 23.92 kB / 477.7 MB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/0.4206, allocations: 60.89 kB / 477.7 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.4206, allocations: 0 / 477.7 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/0.4225, allocations: 1.694 MB / 479.4 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.4225, allocations: 3.953 kB / 479.4 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005944/0.4231, allocations: 373.3 kB / 479.8 MB, free: 1.844 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.4232, allocations: 96.89 kB / 479.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.4232, allocations: 0 / 479.9 MB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.4234, allocations: 24.05 kB / 479.9 MB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.4235, allocations: 7.984 kB / 479.9 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.4235, allocations: 4 kB / 479.9 MB, free: 1.695 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.4236, allocations: 144.5 kB / 480.1 MB, free: 1.555 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4236, allocations: 0 / 480.1 MB, free: 1.555 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004496/0.424, allocations: 103.6 kB / 480.2 MB, free: 1.453 MB / 346.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.0008841/0.4249, allocations: 0.9067 MB / 481.1 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005618/0.4255, allocations: 322.2 kB / 481.4 MB, free: 200 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4255, allocations: 0.8125 kB / 481.4 MB, free: 200 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000514/0.4261, allocations: 261.5 kB / 481.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.4263, allocations: 23.97 kB / 481.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.4286, allocations: 0.7175 MB / 482.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.4289, allocations: 0.7484 MB / 483.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.4291, allocations: 33.83 kB / 483.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.4292, allocations: 59.42 kB / 483.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4292, allocations: 0 / 483.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.4519, allocations: 4.079 MB / 487.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/0.4521, allocations: 154 kB / 487.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/2.065, allocations: 3.938 kB / 487.5 MB, free: 10.02 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