Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001704/0.001704, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.646/1.646, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009757/0.0009757, allocations: 86.28 kB / 292.1 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.931e-05/5.948e-05, allocations: 4 kB / 350.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.152, allocations: 51.49 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3803/0.5324, allocations: 82.43 MB / 484.6 MB, free: 7.121 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.5327, allocations: 74.14 kB / 484.6 MB, free: 7.082 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01726/0.55, allocations: 7.025 MB / 491.7 MB, free: 1.168 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.55, allocations: 3.172 kB / 491.7 MB, free: 1.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.5501, allocations: 4 kB / 491.7 MB, free: 1.164 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009669/0.551, allocations: 0.6134 MB / 492.3 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.5511, allocations: 12.03 kB / 492.3 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.508e-05/0.5511, allocations: 66.16 kB / 492.4 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.407e-05/0.5512, allocations: 35.62 kB / 492.4 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.5516, allocations: 309.8 kB / 492.7 MB, free: 132 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.5516, allocations: 15.81 kB / 492.7 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/0.5516, allocations: 31.16 kB / 492.7 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004726/0.5521, allocations: 305 kB / 493 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.5521, allocations: 1.688 kB / 493 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.5522, allocations: 15.31 kB / 493.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.5522, allocations: 11.98 kB / 493.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003477/0.5525, allocations: 212.4 kB / 493.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/0.5547, allocations: 1.295 MB / 494.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.5551, allocations: 255.5 kB / 494.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.5553, allocations: 97.41 kB / 494.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.5553, allocations: 7.984 kB / 494.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/0.5556, allocations: 151.3 kB / 495.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.734e-06/0.5556, allocations: 1.969 kB / 495.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006866/0.5563, allocations: 259.2 kB / 495.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.5563, allocations: 102.8 kB / 495.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/0.5567, allocations: 267.6 kB / 495.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.5567, allocations: 29.7 kB / 495.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.5568, allocations: 207.7 kB / 495.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.5569, allocations: 51.2 kB / 496 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.623e-05/0.5569, allocations: 8 kB / 496 MB, free: 13.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.557, allocations: 334.8 kB / 496.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/0.5572, allocations: 68.28 kB / 496.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002269/0.5574, allocations: 176.2 kB / 496.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.5576, allocations: 112 kB / 496.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5576, allocations: 0 / 496.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007817/0.5584, allocations: 396.4 kB / 497 MB, free: 11.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.331e-05/0.5585, allocations: 37.7 kB / 497.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.5585, allocations: 4 kB / 497.1 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001756/0.5587, allocations: 36.83 kB / 497.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/0.559, allocations: 75.95 kB / 497.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/0.5609, allocations: 1.57 MB / 498.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003831/0.5613, allocations: 67.64 kB / 498.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.5613, allocations: 20.09 kB / 498.8 MB, free: 9.996 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.0001346/0.5615, allocations: 123.4 kB / 499 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.5615, allocations: 23.72 kB / 499 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.379e-05/0.5616, allocations: 29.98 kB / 499 MB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.5616, allocations: 4 kB / 499 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.5616, allocations: 3.312 kB / 499 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.5616, allocations: 3.984 kB / 499 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.5627, allocations: 0.7066 MB / 499.7 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5627, allocations: 4.031 kB / 499.7 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.563, allocations: 51.89 kB / 499.8 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.009e-05/0.5631, allocations: 28.86 kB / 499.8 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.5631, allocations: 5.109 kB / 499.8 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.5642, allocations: 1.386 MB / 0.4895 GB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5642, allocations: 0 / 0.4895 GB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007194/0.565, allocations: 444.4 kB / 0.4899 GB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.563e-05/0.565, allocations: 112.7 kB / 0.49 GB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.5651, allocations: 0 / 0.49 GB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000325/0.5654, allocations: 48.03 kB / 0.49 GB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.06e-05/0.5655, allocations: 19.97 kB / 0.4901 GB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.5655, allocations: 7.984 kB / 0.4901 GB, free: 6.766 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000205/0.5658, allocations: 207.1 kB / 0.4903 GB, free: 6.562 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5658, allocations: 0 / 0.4903 GB, free: 6.562 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004205/0.5662, allocations: 87.75 kB / 0.4903 GB, free: 6.477 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.001075/0.5673, allocations: 1.048 MB / 0.4914 GB, free: 5.395 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008836/0.5682, allocations: 436.7 kB / 0.4918 GB, free: 4.949 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5682, allocations: 4.062 kB / 0.4918 GB, free: 4.945 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002354/0.5684, allocations: 198.5 kB / 0.492 GB, free: 4.738 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.5688, allocations: 42.55 kB / 0.492 GB, free: 4.699 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.5707, allocations: 0.6336 MB / 0.4926 GB, free: 4.031 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.571, allocations: 0.7719 MB / 0.4934 GB, free: 3.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001558/0.5711, allocations: 34.95 kB / 0.4934 GB, free: 3.199 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.5713, allocations: 92.06 kB / 0.4935 GB, free: 3.109 MB / 362.7 MB Notification: Performance of SimCode: time 3.6e-07/0.5713, allocations: 4 kB / 0.4935 GB, free: 3.105 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01842/0.5897, allocations: 6.279 MB / 0.4997 GB, free: 13.1 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/0.5899, allocations: 192.6 kB / 0.4998 GB, free: 12.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/2.507, allocations: 0 / 0.4998 GB, free: 12.86 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat does not exist to compare? outputFormat=mat