Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.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.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Blocks_Examples_FilterWithDifferentiation",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.00157/0.00157, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.18/2.18, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001666/0.001665, allocations: 90.69 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.37e-05/4.377e-05, allocations: 4 kB / 321.6 MB, free: 17.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1124, allocations: 47.57 MB / 369.2 MB, free: 2.133 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4149/0.5273, allocations: 89.34 MB / 458.5 MB, free: 4.066 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.5276, allocations: 67.22 kB / 458.6 MB, free: 4.035 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08193/0.6096, allocations: 16.86 MB / 475.4 MB, free: 4.457 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6097, allocations: 0 / 475.4 MB, free: 4.457 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.241e-05/0.6097, allocations: 4 kB / 475.4 MB, free: 4.453 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001602/0.6113, allocations: 0.5551 MB / 476 MB, free: 3.863 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.6114, allocations: 12.03 kB / 476 MB, free: 3.852 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.636e-05/0.6114, allocations: 34.25 kB / 476 MB, free: 3.812 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.555e-05/0.6115, allocations: 15.81 kB / 476.1 MB, free: 3.797 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.612, allocations: 240.4 kB / 476.3 MB, free: 3.535 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.612, allocations: 7.938 kB / 476.3 MB, free: 3.531 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.6121, allocations: 8 kB / 476.3 MB, free: 3.523 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.6124, allocations: 126.1 kB / 476.4 MB, free: 3.402 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.6124, allocations: 0 / 476.4 MB, free: 3.402 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.6124, allocations: 3.562 kB / 476.4 MB, free: 3.402 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.6124, allocations: 4 kB / 476.4 MB, free: 3.398 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.6126, allocations: 50.03 kB / 476.5 MB, free: 3.359 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008848/0.6135, allocations: 394.5 kB / 476.9 MB, free: 2.965 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004874/0.614, allocations: 125.4 kB / 477 MB, free: 2.855 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.557e-05/0.6141, allocations: 40.53 kB / 477 MB, free: 2.824 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.6141, allocations: 4 kB / 477 MB, free: 2.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.6142, allocations: 30.56 kB / 477.1 MB, free: 2.781 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.964e-06/0.6142, allocations: 0 / 477.1 MB, free: 2.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.003016/0.6172, allocations: 1.152 MB / 478.2 MB, free: 1.656 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.334e-05/0.6173, allocations: 132.5 kB / 478.3 MB, free: 1.496 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.6176, allocations: 162.1 kB / 478.5 MB, free: 1.352 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.6176, allocations: 29.7 kB / 478.5 MB, free: 1.316 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.884e-05/0.6177, allocations: 169.3 kB / 478.7 MB, free: 1.156 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.372e-05/0.6178, allocations: 63.86 kB / 478.8 MB, free: 1.102 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/0.6178, allocations: 7 kB / 478.8 MB, free: 1.098 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.618, allocations: 314.2 kB / 479.1 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.6182, allocations: 85.72 kB / 479.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/0.6185, allocations: 126.1 kB / 479.3 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.6188, allocations: 105.6 kB / 479.4 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6188, allocations: 4 kB / 479.4 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007746/0.6196, allocations: 286.2 kB / 479.7 MB, free: 248 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.6196, allocations: 4 kB / 479.7 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.959e-05/0.6197, allocations: 7.984 kB / 479.7 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002712/0.62, allocations: 44.77 kB / 479.7 MB, free: 188 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.6203, allocations: 27.98 kB / 479.7 MB, free: 160 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/0.622, allocations: 1.413 MB / 481.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.6222, allocations: 8.031 kB / 481.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.6222, allocations: 7.984 kB / 481.2 MB, free: 14.59 MB / 362.7 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 () * 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.000127/0.6224, allocations: 118 kB / 481.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.6224, allocations: 19.8 kB / 481.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.878e-05/0.6225, allocations: 21.66 kB / 481.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.6225, allocations: 4 kB / 481.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.6225, allocations: 0 / 481.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.6226, allocations: 0 / 481.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.6229, allocations: 249.5 kB / 481.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.623, allocations: 0 / 481.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005186/0.6235, allocations: 55.91 kB / 481.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.6235, allocations: 4 kB / 481.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.6235, allocations: 4.656 kB / 481.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.6236, allocations: 3.984 kB / 481.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6236, allocations: 0 / 481.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007508/0.6243, allocations: 395.2 kB / 482 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-05/0.6244, allocations: 88.92 kB / 482.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.6245, allocations: 11.94 kB / 482.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.6247, allocations: 8 kB / 482.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.6247, allocations: 15.92 kB / 482.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.6248, allocations: 4 kB / 482.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000148/0.6249, allocations: 124.2 kB / 482.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6249, allocations: 0 / 482.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00307/0.628, allocations: 0.5273 MB / 482.8 MB, free: 12.87 MB / 362.7 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 () * 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.003388/0.6315, allocations: 1.392 MB / 484.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009914/0.6325, allocations: 381.8 kB / 484.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6325, allocations: 0 / 484.6 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.6328, allocations: 79.97 kB / 484.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.6331, allocations: 24.67 kB / 484.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.635, allocations: 0.5419 MB / 485.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.6355, allocations: 0.7324 MB / 485.9 MB, free: 9.613 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.6357, allocations: 47.42 kB / 486 MB, free: 9.57 MB / 362.7 MB Notification: Performance of SimCode: time 1.573e-06/0.6357, allocations: 0 / 486 MB, free: 9.57 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.194/3.829, allocations: 7.709 MB / 493.7 MB, free: 1.84 MB / 362.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat does not exist to compare? outputFormat=mat