Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.CauerLowPassOPV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009844/0.0009844, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.177/1.177, allocations: 227.2 MB / 245 MB, free: 5.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008136/0.0008136, allocations: 100.3 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001994/0.0001995, allocations: 11.98 kB / 358 MB, free: 9.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1784, allocations: 51.49 MB / 409.5 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08531/0.2637, allocations: 80.95 MB / 490.4 MB, free: 9.621 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001748/0.2639, allocations: 67.97 kB / 490.5 MB, free: 9.555 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03163/0.2956, allocations: 13.4 MB / 0.4921 GB, free: 12.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2956, allocations: 0 / 0.4921 GB, free: 12.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.222e-05/0.2956, allocations: 24 kB / 0.4921 GB, free: 12.09 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001561/0.2972, allocations: 1.068 MB / 0.4932 GB, free: 10.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.2972, allocations: 8.031 kB / 0.4932 GB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001516/0.2974, allocations: 147.9 kB / 0.4933 GB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.2975, allocations: 114.7 kB / 0.4934 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005119/0.2981, allocations: 430.2 kB / 0.4938 GB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.152e-05/0.2981, allocations: 81.94 kB / 0.4939 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.2983, allocations: 91.91 kB / 0.494 GB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/0.2994, allocations: 0.8519 MB / 0.4948 GB, free: 9.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.2995, allocations: 0 / 0.4948 GB, free: 9.191 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.13e-05/0.2995, allocations: 40 kB / 0.4949 GB, free: 9.152 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.2996, allocations: 35.92 kB / 0.4949 GB, free: 9.117 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008969/0.3005, allocations: 0.57 MB / 0.4955 GB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003777/0.3043, allocations: 2.992 MB / 0.4984 GB, free: 5.434 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003858/0.3047, allocations: 298.3 kB / 0.4987 GB, free: 5.133 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.3047, allocations: 8 kB / 0.4987 GB, free: 5.125 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.3047, allocations: 42.55 kB / 0.4987 GB, free: 5.074 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 1.843e-06/0.3047, allocations: 4 kB / 0.4987 GB, free: 5.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.001293/0.306, allocations: 0.6519 MB / 0.4994 GB, free: 4.391 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.3061, allocations: 63.36 kB / 0.4994 GB, free: 4.316 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004697/0.3065, allocations: 457.7 kB / 0.4999 GB, free: 3.863 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.3066, allocations: 37.7 kB / 0.4999 GB, free: 3.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.3068, allocations: 485.6 kB / 0.5003 GB, free: 3.336 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.863e-05/0.307, allocations: 157.7 kB / 0.5005 GB, free: 3.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.307, allocations: 23.94 kB / 0.5005 GB, free: 3.156 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3071, allocations: 362.8 kB / 0.5009 GB, free: 2.793 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002731/0.3074, allocations: 169.9 kB / 0.501 GB, free: 2.625 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004202/0.3078, allocations: 453.8 kB / 0.5015 GB, free: 2.055 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.3082, allocations: 238 kB / 0.5017 GB, free: 1.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3082, allocations: 4 kB / 0.5017 GB, free: 1.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00107/0.3093, allocations: 0.7493 MB / 0.5024 GB, free: 1.055 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3093, allocations: 8 kB / 0.5024 GB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.3093, allocations: 8 kB / 0.5024 GB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002705/0.3096, allocations: 88.91 kB / 0.5025 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006595/0.3103, allocations: 203.7 kB / 0.5027 GB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1531/0.4634, allocations: 1.814 MB / 0.5045 GB, free: 88.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007706/0.4642, allocations: 90.39 kB / 0.5046 GB, free: 88.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/0.4643, allocations: 38.55 kB / 0.5046 GB, free: 88.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004045/0.4647, allocations: 218.5 kB / 0.5048 GB, free: 88.49 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.4648, allocations: 56.25 kB / 0.5049 GB, free: 88.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.465, allocations: 66.33 kB / 0.5049 GB, free: 88.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.465, allocations: 7.766 kB / 0.5049 GB, free: 88.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.465, allocations: 3.906 kB / 0.505 GB, free: 88.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.465, allocations: 2.844 kB / 0.505 GB, free: 88.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000879/0.4659, allocations: 0.6428 MB / 0.5056 GB, free: 88.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.4659, allocations: 1.031 kB / 0.5056 GB, free: 88.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004736/0.4664, allocations: 102.3 kB / 0.5057 GB, free: 88.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002099/0.4666, allocations: 72.28 kB / 0.5058 GB, free: 88.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.4666, allocations: 10.09 kB / 0.5058 GB, free: 88.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/0.468, allocations: 1.818 MB / 0.5075 GB, free: 86.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.468, allocations: 0 / 0.5075 GB, free: 86.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008226/0.4689, allocations: 0.6646 MB / 0.5082 GB, free: 86.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-05/0.469, allocations: 135 kB / 0.5083 GB, free: 86.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.978e-05/0.469, allocations: 9.094 kB / 0.5083 GB, free: 86.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003839/0.4694, allocations: 50.81 kB / 0.5084 GB, free: 86.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/0.4695, allocations: 29.44 kB / 0.5084 GB, free: 86.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.4695, allocations: 22.34 kB / 0.5084 GB, free: 86.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003258/0.4699, allocations: 343.1 kB / 0.5087 GB, free: 86.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.4699, allocations: 0 / 0.5087 GB, free: 86.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007575/0.4706, allocations: 256.2 kB / 0.509 GB, free: 86.53 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001022/0.4717, allocations: 1.219 MB / 0.5102 GB, free: 85.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009279/0.4726, allocations: 0.5914 MB / 0.5108 GB, free: 85.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4726, allocations: 0 / 0.5108 GB, free: 85.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004571/0.4731, allocations: 310.1 kB / 0.5111 GB, free: 85.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.4736, allocations: 103 kB / 0.5112 GB, free: 85.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004816/0.4784, allocations: 9.891 MB / 0.5208 GB, free: 77.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.4787, allocations: 0.9464 MB / 0.5217 GB, free: 77.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002828/0.479, allocations: 70.53 kB / 0.5218 GB, free: 77.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.4792, allocations: 261.4 kB / 0.5221 GB, free: 76.88 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.4792, allocations: 7.312 kB / 0.5221 GB, free: 76.87 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.5006, allocations: 11.78 MB / 0.5336 GB, free: 73.1 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000153/0.5008, allocations: 205.4 kB / 0.5338 GB, free: 72.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.045/2.546, allocations: 0 / 0.5338 GB, free: 72.86 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CauerLowPassOPV.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat does not exist to compare? outputFormat=mat