Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",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.001315/0.001315, allocations: 175.2 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.35/1.35, allocations: 221.3 MB / 235.5 MB, free: 2.879 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.0008408/0.0008408, allocations: 92.67 kB / 286.5 MB, free: 176 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.691e-05/2.697e-05, allocations: 4 kB / 343.9 MB, free: 4.188 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09554/0.09558, allocations: 50.42 MB / 394.4 MB, free: 1.727 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3048/0.4004, allocations: 81.64 MB / 476 MB, free: 5.801 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.4007, allocations: 89.55 kB / 476.1 MB, free: 5.715 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02132/0.422, allocations: 6.985 MB / 483.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.422, allocations: 0 / 483.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.4221, allocations: 8 kB / 483.1 MB, free: 14.69 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001251/0.4233, allocations: 0.6184 MB / 483.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.4234, allocations: 12.03 kB / 483.7 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.251e-05/0.4235, allocations: 66.53 kB / 483.8 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.851e-05/0.4236, allocations: 35.62 kB / 483.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.424, allocations: 302 kB / 484.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.424, allocations: 24.56 kB / 484.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.505e-05/0.4241, allocations: 32 kB / 484.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005072/0.4246, allocations: 300 kB / 484.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.4246, allocations: 0 / 484.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.4246, allocations: 11.94 kB / 484.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.4247, allocations: 8 kB / 484.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005499/0.4252, allocations: 214.2 kB / 484.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.4276, allocations: 1.318 MB / 486 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.4279, allocations: 249 kB / 486.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.4282, allocations: 100.8 kB / 486.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.4282, allocations: 4 kB / 486.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002958/0.4286, allocations: 147.5 kB / 486.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.4286, allocations: 0 / 486.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.000686/0.4293, allocations: 254 kB / 486.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.4293, allocations: 102.8 kB / 486.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.4296, allocations: 259.4 kB / 487.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.4297, allocations: 29.7 kB / 487.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.4298, allocations: 219.9 kB / 487.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/0.4299, allocations: 51.2 kB / 487.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.427e-05/0.4299, allocations: 8 kB / 487.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.43, allocations: 338.8 kB / 487.7 MB, free: 9.742 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.4301, allocations: 72.28 kB / 487.8 MB, free: 9.668 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.4303, allocations: 168.7 kB / 488 MB, free: 9.461 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.4305, allocations: 114.6 kB / 488.1 MB, free: 9.344 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.4305, allocations: 0 / 488.1 MB, free: 9.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007529/0.4313, allocations: 382.4 kB / 488.4 MB, free: 8.957 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.34e-05/0.4313, allocations: 41.69 kB / 488.5 MB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.4314, allocations: 4.094 kB / 488.5 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001665/0.4315, allocations: 32.86 kB / 488.5 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.4319, allocations: 75.88 kB / 488.6 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.4337, allocations: 1.576 MB / 490.2 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003595/0.434, allocations: 67.75 kB / 490.2 MB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.4341, allocations: 12 kB / 490.2 MB, free: 7.012 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.4342, allocations: 124.9 kB / 490.4 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.4342, allocations: 27.67 kB / 490.4 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.51e-05/0.4343, allocations: 33.98 kB / 490.4 MB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4343, allocations: 0 / 490.4 MB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4343, allocations: 4.094 kB / 490.4 MB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4343, allocations: 7.875 kB / 490.4 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.4354, allocations: 0.6996 MB / 491.1 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4354, allocations: 0 / 491.1 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.4357, allocations: 59.89 kB / 491.2 MB, free: 5.984 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.676e-05/0.4357, allocations: 32.89 kB / 491.2 MB, free: 5.949 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.4358, allocations: 3.984 kB / 491.2 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.4369, allocations: 1.362 MB / 492.6 MB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.4369, allocations: 0 / 492.6 MB, free: 4.453 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007522/0.4377, allocations: 455.9 kB / 493 MB, free: 3.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.833e-05/0.4377, allocations: 100.9 kB / 493.1 MB, free: 3.863 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/0.4378, allocations: 3.984 kB / 493.1 MB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/0.4381, allocations: 40.03 kB / 493.2 MB, free: 3.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.958e-05/0.4382, allocations: 35.91 kB / 493.2 MB, free: 3.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.4382, allocations: 7.984 kB / 493.2 MB, free: 3.777 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002048/0.4384, allocations: 207.1 kB / 493.4 MB, free: 3.574 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4384, allocations: 0 / 493.4 MB, free: 3.574 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004004/0.4389, allocations: 79.78 kB / 493.5 MB, free: 3.496 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001022/0.4399, allocations: 1.057 MB / 494.6 MB, free: 2.406 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008628/0.4408, allocations: 433.4 kB / 495 MB, free: 1.961 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4408, allocations: 3.938 kB / 495 MB, free: 1.957 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.441, allocations: 190.6 kB / 495.2 MB, free: 1.758 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.4414, allocations: 50.58 kB / 495.2 MB, free: 1.711 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.4433, allocations: 0.6386 MB / 495.9 MB, free: 1.031 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.4436, allocations: 0.7758 MB / 496.6 MB, free: 236 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.4437, allocations: 30.97 kB / 496.7 MB, free: 208 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.4439, allocations: 95.41 kB / 496.8 MB, free: 112 kB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4439, allocations: 0 / 496.8 MB, free: 112 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01858/0.4625, allocations: 6.302 MB / 0.4913 GB, free: 9.973 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/0.4628, allocations: 175.9 kB / 0.4914 GB, free: 9.754 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/2.298, allocations: 4 kB / 0.4914 GB, free: 9.75 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat does not exist to compare? outputFormat=mat