Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 92.33 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001956/0.001957, allocations: 182.5 kB / 17.19 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.2 MB / 241.1 MB, free: 5.461 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000276/0.0002762, allocations: 6.438 kB / 300.8 MB, free: 5.918 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1217, allocations: 50.42 MB / 351.2 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001784/0.1235, allocations: 1.295 MB / 352.5 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00466/0.1282, allocations: 2.999 MB / 355.5 MB, free: 7.344 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.1284, allocations: 7.938 kB / 355.5 MB, free: 7.336 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.1287, allocations: 59.75 kB / 355.6 MB, free: 7.277 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.33e-05/0.1288, allocations: 7.984 kB / 355.6 MB, free: 7.27 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.1314, allocations: 0.9808 MB / 356.6 MB, free: 6.293 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.1316, allocations: 99.75 kB / 356.7 MB, free: 6.195 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1317, allocations: 13.12 kB / 356.7 MB, free: 6.18 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.511e-05/0.1318, allocations: 47.84 kB / 356.7 MB, free: 6.133 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.526e-05/0.1319, allocations: 55.72 kB / 356.8 MB, free: 6.078 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.1319, allocations: 0 / 356.8 MB, free: 6.078 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.1331, allocations: 1.058 MB / 357.8 MB, free: 5.02 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.32e-05/0.1332, allocations: 23.92 kB / 357.9 MB, free: 4.996 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.371e-05/0.1332, allocations: 45.64 kB / 357.9 MB, free: 4.945 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009849/0.1342, allocations: 1.084 MB / 359 MB, free: 3.859 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1342, allocations: 0 / 359 MB, free: 3.859 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1342, allocations: 0 / 359 MB, free: 3.859 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1343, allocations: 0 / 359 MB, free: 3.859 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000863/0.1351, allocations: 0.5379 MB / 359.5 MB, free: 3.273 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1352, allocations: 8.031 kB / 359.5 MB, free: 3.266 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.839e-05/0.1352, allocations: 42.5 kB / 359.6 MB, free: 3.215 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.1353, allocations: 27.7 kB / 359.6 MB, free: 3.188 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.1355, allocations: 202.9 kB / 359.8 MB, free: 2.949 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.1355, allocations: 7.938 kB / 359.8 MB, free: 2.941 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.1356, allocations: 12 kB / 359.8 MB, free: 2.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.1358, allocations: 129 kB / 359.9 MB, free: 2.785 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1359, allocations: 0 / 359.9 MB, free: 2.785 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.1359, allocations: 4 kB / 360 MB, free: 2.781 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1359, allocations: 7.953 kB / 360 MB, free: 2.773 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.136, allocations: 55.95 kB / 360 MB, free: 2.719 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005732/0.1366, allocations: 388.5 kB / 360.4 MB, free: 2.289 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/0.137, allocations: 130.5 kB / 360.5 MB, free: 2.152 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.856e-06/0.137, allocations: 4 kB / 360.5 MB, free: 2.148 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.137, allocations: 34.56 kB / 360.6 MB, free: 2.105 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.1371, allocations: 192 / 360.6 MB, free: 2.105 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.002123/0.1392, allocations: 1.225 MB / 361.8 MB, free: 0.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.778e-05/0.1393, allocations: 132.5 kB / 361.9 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.1394, allocations: 178.8 kB / 362.1 MB, free: 416 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.1395, allocations: 33.7 kB / 362.1 MB, free: 376 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.356e-05/0.1396, allocations: 108.4 kB / 362.2 MB, free: 264 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.115e-05/0.1396, allocations: 59.19 kB / 362.3 MB, free: 204 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/0.1396, allocations: 4 kB / 362.3 MB, free: 200 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1398, allocations: 330.8 kB / 362.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.14, allocations: 99.94 kB / 362.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.1402, allocations: 135.4 kB / 362.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.1404, allocations: 108 kB / 362.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1404, allocations: 0 / 362.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005172/0.1409, allocations: 314.3 kB / 363.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.1409, allocations: 4 kB / 363.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.1409, allocations: 7.953 kB / 363.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/0.1411, allocations: 44.81 kB / 363.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.1413, allocations: 27.98 kB / 363.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.1425, allocations: 1.413 MB / 364.7 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.939e-05/0.1426, allocations: 16.02 kB / 364.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.1427, allocations: 8.25 kB / 364.8 MB, free: 13.54 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.1428, allocations: 141 kB / 364.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.1429, allocations: 11.81 kB / 364.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.645e-05/0.1429, allocations: 25.48 kB / 364.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1429, allocations: 0 / 364.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.1429, allocations: 0 / 364.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.143, allocations: 4 kB / 365 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.1432, allocations: 245.6 kB / 365.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1432, allocations: 0 / 365.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.1435, allocations: 55.95 kB / 365.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1435, allocations: 4 kB / 365.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1436, allocations: 8 kB / 365.3 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1436, allocations: 11.83 kB / 365.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1436, allocations: 0 / 365.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000515/0.1441, allocations: 421.4 kB / 365.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.1441, allocations: 88.92 kB / 365.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.1442, allocations: 4 kB / 365.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1443, allocations: 4 kB / 365.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.1443, allocations: 12.36 kB / 365.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.1443, allocations: 8 kB / 365.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.951e-05/0.1445, allocations: 127.5 kB / 365.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1445, allocations: 0 / 365.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001724/0.1462, allocations: 0.5195 MB / 366.4 MB, free: 11.79 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.u) * 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 (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001813/0.148, allocations: 1.397 MB / 367.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006632/0.1487, allocations: 385.9 kB / 368.2 MB, free: 9.969 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1487, allocations: 0 / 368.2 MB, free: 9.969 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.1489, allocations: 94.27 kB / 368.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.1491, allocations: 35.98 kB / 368.3 MB, free: 9.844 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.1502, allocations: 0.7929 MB / 369.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.1505, allocations: 0.7404 MB / 369.9 MB, free: 8.238 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.674e-05/0.1506, allocations: 33.06 kB / 369.9 MB, free: 8.207 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.696e-05/0.1507, allocations: 43.42 kB / 369.9 MB, free: 8.164 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1507, allocations: 0 / 369.9 MB, free: 8.164 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.175, allocations: 9.483 MB / 379.4 MB, free: 14.83 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.1753, allocations: 243.2 kB / 379.7 MB, free: 14.56 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.012/2.187, allocations: 0 / 379.7 MB, free: 14.56 MB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat does not exist to compare? outputFormat=mat