Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001458/0.001459, allocations: 172.9 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.374/1.374, 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.0008345/0.0008345, allocations: 82.67 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.857e-05/2.861e-05, allocations: 0 / 322.6 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09593/0.09598, allocations: 47.57 MB / 370.1 MB, free: 1.598 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3173/0.4133, allocations: 79.3 MB / 449.4 MB, free: 13.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.4136, allocations: 77.83 kB / 449.5 MB, free: 13.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01746/0.4311, allocations: 6.062 MB / 455.6 MB, free: 8.758 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4311, allocations: 0 / 455.6 MB, free: 8.758 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.278e-05/0.4312, allocations: 8 kB / 455.6 MB, free: 8.75 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.0009799/0.4321, allocations: 0.6002 MB / 456.2 MB, free: 8.121 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4322, allocations: 15.97 kB / 456.2 MB, free: 8.105 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.099e-05/0.4323, allocations: 56.23 kB / 456.2 MB, free: 8.055 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.192e-05/0.4324, allocations: 31.62 kB / 456.3 MB, free: 8.023 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.4327, allocations: 276.9 kB / 456.5 MB, free: 7.734 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.4328, allocations: 15.38 kB / 456.6 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.4328, allocations: 28.86 kB / 456.6 MB, free: 7.707 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.4332, allocations: 209.1 kB / 456.8 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.4333, allocations: 11.94 kB / 456.8 MB, free: 7.551 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.4333, allocations: 7.062 kB / 456.8 MB, free: 7.551 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.4333, allocations: 11.98 kB / 456.8 MB, free: 7.539 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003336/0.4337, allocations: 175.7 kB / 457 MB, free: 7.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.4353, allocations: 0.9575 MB / 458 MB, free: 6.582 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.4358, allocations: 272.6 kB / 458.2 MB, free: 6.352 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.436, allocations: 93.86 kB / 458.3 MB, free: 6.289 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.436, allocations: 4 kB / 458.3 MB, free: 6.285 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/0.4363, allocations: 146.9 kB / 458.5 MB, free: 6.148 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.4363, allocations: 0 / 458.5 MB, free: 6.148 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005388/0.4368, allocations: 226.8 kB / 458.7 MB, free: 5.961 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.4369, allocations: 106.8 kB / 458.8 MB, free: 5.832 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.4372, allocations: 230.6 kB / 459 MB, free: 5.617 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.4372, allocations: 41.64 kB / 459.1 MB, free: 5.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.4374, allocations: 180 kB / 459.2 MB, free: 5.387 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.896e-05/0.4374, allocations: 67.11 kB / 459.3 MB, free: 5.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.392e-05/0.4375, allocations: 8 kB / 459.3 MB, free: 5.312 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4376, allocations: 334.8 kB / 459.6 MB, free: 4.977 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.4377, allocations: 60.23 kB / 459.7 MB, free: 4.914 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.4379, allocations: 132.4 kB / 459.8 MB, free: 4.754 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.438, allocations: 90.03 kB / 459.9 MB, free: 4.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4381, allocations: 0 / 459.9 MB, free: 4.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005717/0.4386, allocations: 328.5 kB / 460.2 MB, free: 4.324 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002849/0.4389, allocations: 0.6417 MB / 460.9 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.4389, allocations: 4 kB / 460.9 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001771/0.4391, allocations: 40.73 kB / 460.9 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.4394, allocations: 63.95 kB / 461 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000404/0.4398, allocations: 0.5524 MB / 461.5 MB, free: 2.941 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.4401, allocations: 63.8 kB / 461.6 MB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.4402, allocations: 12 kB / 461.6 MB, free: 2.867 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.4402, allocations: 4 kB / 461.6 MB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003999/0.4406, allocations: 243.1 kB / 461.8 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4406, allocations: 7.953 kB / 461.8 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.567e-05/0.4407, allocations: 20.86 kB / 461.9 MB, free: 2.586 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.441, allocations: 68.08 kB / 461.9 MB, free: 2.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.4421, allocations: 1.381 MB / 463.3 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.4424, allocations: 47.75 kB / 463.4 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.4424, allocations: 12 kB / 463.4 MB, free: 0.9492 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: 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 (26): * Single equations (assignments): 24 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.4425, allocations: 122.1 kB / 463.5 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.4426, allocations: 23.72 kB / 463.5 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.725e-05/0.4426, allocations: 33.95 kB / 463.6 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4426, allocations: 0 / 463.6 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4427, allocations: 4 kB / 463.6 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4427, allocations: 3.938 kB / 463.6 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009018/0.4436, allocations: 0.6403 MB / 464.2 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4436, allocations: 0 / 464.2 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.4438, allocations: 51.98 kB / 464.2 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.633e-05/0.4439, allocations: 32.78 kB / 464.3 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.444, allocations: 4 kB / 464.3 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.445, allocations: 1.363 MB / 465.6 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.4451, allocations: 3.938 kB / 465.7 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006143/0.4457, allocations: 414.6 kB / 466.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.155e-05/0.4458, allocations: 100.8 kB / 466.2 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.4458, allocations: 12.06 kB / 466.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.4461, allocations: 35.95 kB / 466.2 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.564e-05/0.4462, allocations: 31.81 kB / 466.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.4462, allocations: 8 kB / 466.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001752/0.4464, allocations: 191.1 kB / 466.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4464, allocations: 0 / 466.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005046/0.4469, allocations: 127.7 kB / 466.6 MB, free: 13.52 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001002/0.4479, allocations: 1.038 MB / 467.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007853/0.4487, allocations: 0.5 MB / 468.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4487, allocations: 0 / 468.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000259/0.449, allocations: 198.5 kB / 468.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.4494, allocations: 48.86 kB / 468.3 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009444/0.4503, allocations: 432 kB / 468.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.4507, allocations: 0.7648 MB / 469.5 MB, free: 10.4 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001858/0.4508, allocations: 42.03 kB / 469.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.451, allocations: 79.41 kB / 469.6 MB, free: 10.28 MB / 346.7 MB Notification: Performance of SimCode: time 4.61e-07/0.451, allocations: 4 kB / 469.6 MB, free: 10.28 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.4695, allocations: 6.162 MB / 475.8 MB, free: 4.109 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/0.4698, allocations: 191 kB / 476 MB, free: 3.879 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.457, allocations: 8.062 kB / 476 MB, free: 3.871 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_LowPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat does not exist to compare? outputFormat=mat