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.001592/0.001592, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008276/0.0008277, allocations: 97.61 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.16e-05/2.163e-05, allocations: 8 kB / 343.8 MB, free: 8.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09936/0.09939, allocations: 51.48 MB / 395.3 MB, free: 4.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3113/0.4107, allocations: 80.21 MB / 475.5 MB, free: 12.15 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000184/0.4109, allocations: 68.42 kB / 475.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02995/0.4409, allocations: 13.29 MB / 488.8 MB, free: 1.891 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4409, allocations: 0 / 488.8 MB, free: 1.891 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.437e-05/0.441, allocations: 20 kB / 488.9 MB, free: 1.871 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001877/0.4429, allocations: 1.006 MB / 489.9 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.4429, allocations: 8.031 kB / 489.9 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002713/0.4432, allocations: 111.6 kB / 490 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005861/0.4438, allocations: 436.9 kB / 490.4 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.4438, allocations: 28 kB / 490.4 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.444, allocations: 59.98 kB / 490.5 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008423/0.4448, allocations: 490.8 kB / 491 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.4461, allocations: 0.6984 MB / 491.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.4461, allocations: 8 kB / 491.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.397e-05/0.4462, allocations: 0 / 491.7 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.4462, allocations: 24 kB / 491.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004351/0.4506, allocations: 2.849 MB / 494.5 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.4509, allocations: 261 kB / 494.8 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.4512, allocations: 249.3 kB / 495 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.4513, allocations: 11.78 kB / 495.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.4513, allocations: 34.12 kB / 495.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.084e-06/0.4513, allocations: 8 kB / 495.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.0007097/0.4521, allocations: 345.4 kB / 495.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.4521, allocations: 55.41 kB / 495.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/0.4526, allocations: 404.7 kB / 495.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.4526, allocations: 25.7 kB / 495.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003067/0.4529, allocations: 493.6 kB / 496.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.4531, allocations: 157.8 kB / 496.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/0.4531, allocations: 0 / 496.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.4533, allocations: 358.5 kB / 496.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.4535, allocations: 153.7 kB / 497 MB, free: 10.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004214/0.4539, allocations: 416.1 kB / 497.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.4543, allocations: 209.9 kB / 497.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.4543, allocations: 4 kB / 497.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001121/0.4554, allocations: 0.6392 MB / 498.3 MB, free: 9.836 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.4554, allocations: 8 kB / 498.3 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.4555, allocations: 11.91 kB / 498.3 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002771/0.4557, allocations: 90.28 kB / 498.4 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006895/0.4564, allocations: 197.8 kB / 498.6 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.4582, allocations: 1.742 MB / 0.4886 GB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004877/0.4587, allocations: 67.08 kB / 0.4887 GB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.409e-05/0.4588, allocations: 38.44 kB / 0.4887 GB, free: 7.801 MB / 362.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 () * 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.0001396/0.4589, allocations: 136.1 kB / 0.4888 GB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006062/0.4595, allocations: 362.8 kB / 0.4892 GB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.4597, allocations: 55.34 kB / 0.4892 GB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.4598, allocations: 55.97 kB / 0.4893 GB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.4598, allocations: 11.98 kB / 0.4893 GB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4598, allocations: 4 kB / 0.4893 GB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.4598, allocations: 3.953 kB / 0.4893 GB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00075/0.4606, allocations: 0.5247 MB / 0.4898 GB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4606, allocations: 0 / 0.4898 GB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/0.461, allocations: 101.7 kB / 0.4899 GB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001908/0.4612, allocations: 71.61 kB / 0.49 GB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.4612, allocations: 3.5 kB / 0.49 GB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.4629, allocations: 1.735 MB / 0.4917 GB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.463, allocations: 3.953 kB / 0.4917 GB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008021/0.4638, allocations: 0.5977 MB / 0.4923 GB, free: 4.555 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.4639, allocations: 128.3 kB / 0.4924 GB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.464, allocations: 0.875 kB / 0.4924 GB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/0.4644, allocations: 47.95 kB / 0.4924 GB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.17e-05/0.4645, allocations: 31.44 kB / 0.4925 GB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/0.4645, allocations: 15.86 kB / 0.4925 GB, free: 4.328 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002996/0.4648, allocations: 292.1 kB / 0.4928 GB, free: 4.113 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4648, allocations: 0 / 0.4928 GB, free: 4.113 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008171/0.4657, allocations: 235.1 kB / 0.493 GB, free: 3.883 MB / 362.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 () * 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.001172/0.4668, allocations: 1.139 MB / 0.4941 GB, free: 2.863 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00086/0.4677, allocations: 0.5268 MB / 0.4946 GB, free: 2.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4677, allocations: 0 / 0.4946 GB, free: 2.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003982/0.4681, allocations: 290.2 kB / 0.4949 GB, free: 2.137 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.4686, allocations: 81.25 kB / 0.495 GB, free: 2.055 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.4708, allocations: 1.176 MB / 0.4961 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005863/0.4714, allocations: 0.9492 MB / 0.4971 GB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002851/0.4717, allocations: 64.94 kB / 0.4971 GB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/0.472, allocations: 259.3 kB / 0.4974 GB, free: 15.54 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.472, allocations: 0 / 0.4974 GB, free: 15.54 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03188/0.5039, allocations: 10.45 MB / 0.5076 GB, free: 5.207 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/0.5042, allocations: 140.3 kB / 0.5077 GB, free: 5.016 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.084/2.588, allocations: 4 kB / 0.5077 GB, free: 5.012 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