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.001575/0.00158, allocations: 182.6 kB / 16.4 MB, free: 5.75 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.058/2.058, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001148/0.001148, allocations: 94.28 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.0003971, allocations: 8 kB / 327 MB, free: 124 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3531, allocations: 47.58 MB / 374.6 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001986/0.3552, allocations: 1.286 MB / 375.9 MB, free: 44.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006622/0.3618, allocations: 3.056 MB / 379 MB, free: 42.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.3621, allocations: 5.156 kB / 379 MB, free: 42.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004051/0.3625, allocations: 60.08 kB / 379 MB, free: 42.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.306e-05/0.3626, allocations: 21.95 kB / 379 MB, free: 42.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004902/0.3675, allocations: 0.9655 MB / 380 MB, free: 41.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.3678, allocations: 92.08 kB / 380.1 MB, free: 41.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.368, allocations: 23.17 kB / 380.1 MB, free: 41.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.163e-05/0.3681, allocations: 51.61 kB / 380.2 MB, free: 41.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.3682, allocations: 44.38 kB / 380.2 MB, free: 41.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.3682, allocations: 7.344 kB / 380.2 MB, free: 41.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003001/0.3713, allocations: 1.052 MB / 381.3 MB, free: 41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.3714, allocations: 35.39 kB / 381.3 MB, free: 40.97 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.807e-05/0.3715, allocations: 40.61 kB / 381.4 MB, free: 40.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.3735, allocations: 1.082 MB / 382.4 MB, free: 40.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3736, allocations: 1 kB / 382.4 MB, free: 40.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3736, allocations: 0 / 382.4 MB, free: 40.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.3736, allocations: 0 / 382.4 MB, free: 40.36 MB / 298.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.001755/0.3754, allocations: 0.5449 MB / 383 MB, free: 39.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.3754, allocations: 9.5 kB / 383 MB, free: 39.92 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.666e-05/0.3755, allocations: 42.05 kB / 383 MB, free: 39.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.167e-05/0.3756, allocations: 14.59 kB / 383 MB, free: 39.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.3758, allocations: 208.1 kB / 383.2 MB, free: 39.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.3759, allocations: 19.06 kB / 383.3 MB, free: 39.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.322e-05/0.3759, allocations: 11.16 kB / 383.3 MB, free: 39.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.3762, allocations: 121.2 kB / 383.4 MB, free: 39.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.3763, allocations: 1.281 kB / 383.4 MB, free: 39.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.3763, allocations: 1.438 kB / 383.4 MB, free: 39.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.3763, allocations: 1.281 kB / 383.4 MB, free: 39.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.3766, allocations: 66.89 kB / 383.5 MB, free: 39.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007356/0.3773, allocations: 381.8 kB / 383.8 MB, free: 39.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000514/0.3779, allocations: 126.8 kB / 384 MB, free: 39.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.3779, allocations: 1.125 kB / 384 MB, free: 39.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.3779, allocations: 40.44 kB / 384 MB, free: 39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.805e-06/0.3779, allocations: 0 / 384 MB, free: 39 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.003206/0.3811, allocations: 1.235 MB / 385.2 MB, free: 37.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.3813, allocations: 132.5 kB / 385.4 MB, free: 37.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.3814, allocations: 178.8 kB / 385.5 MB, free: 37.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.3815, allocations: 29.7 kB / 385.6 MB, free: 37.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.017e-05/0.3816, allocations: 170.9 kB / 385.7 MB, free: 37.35 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/0.3816, allocations: 55.2 kB / 385.8 MB, free: 37.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.618e-05/0.3817, allocations: 4 kB / 385.8 MB, free: 37.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.356e-05/0.3817, allocations: 318.8 kB / 386.1 MB, free: 36.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.382, allocations: 91.95 kB / 386.2 MB, free: 36.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.3823, allocations: 144.2 kB / 386.3 MB, free: 36.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.3826, allocations: 121.6 kB / 386.5 MB, free: 36.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3826, allocations: 0 / 386.5 MB, free: 36.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007896/0.3834, allocations: 298.2 kB / 386.7 MB, free: 36.31 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.3834, allocations: 8 kB / 386.8 MB, free: 36.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.421e-05/0.3834, allocations: 0 / 386.8 MB, free: 36.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002814/0.3837, allocations: 48.75 kB / 386.8 MB, free: 36.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.384, allocations: 31.98 kB / 386.8 MB, free: 36.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.3854, allocations: 1.417 MB / 388.3 MB, free: 34.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.3856, allocations: 12.02 kB / 388.3 MB, free: 34.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.3857, allocations: 4 kB / 388.3 MB, free: 34.66 MB / 298.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 () * 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.0001625/0.3858, allocations: 142 kB / 388.4 MB, free: 34.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.3859, allocations: 15.81 kB / 388.4 MB, free: 34.49 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.698e-05/0.386, allocations: 17.53 kB / 388.4 MB, free: 34.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.386, allocations: 7.984 kB / 388.4 MB, free: 34.47 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.386, allocations: 0 / 388.4 MB, free: 34.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.386, allocations: 3.938 kB / 388.4 MB, free: 34.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/0.3863, allocations: 249.5 kB / 388.7 MB, free: 34.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3863, allocations: 0 / 388.7 MB, free: 34.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004868/0.3868, allocations: 55.95 kB / 388.7 MB, free: 34.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.3868, allocations: 4 kB / 388.8 MB, free: 34.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.3869, allocations: 4 kB / 388.8 MB, free: 34.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3869, allocations: 0 / 388.8 MB, free: 34.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3869, allocations: 0 / 388.8 MB, free: 34.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007569/0.3877, allocations: 419 kB / 389.2 MB, free: 33.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.3877, allocations: 92.92 kB / 389.3 MB, free: 33.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.3878, allocations: 8 kB / 389.3 MB, free: 33.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.3879, allocations: 8.031 kB / 389.3 MB, free: 33.56 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.388, allocations: 7.984 kB / 389.3 MB, free: 33.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.388, allocations: 8.375 kB / 389.3 MB, free: 33.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.3882, allocations: 123.2 kB / 389.4 MB, free: 33.42 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3882, allocations: 0 / 389.4 MB, free: 33.42 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002554/0.3907, allocations: 0.5117 MB / 389.9 MB, free: 32.91 MB / 298.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 () * 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.003323/0.3941, allocations: 1.406 MB / 391.3 MB, free: 31.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009607/0.3951, allocations: 396.5 kB / 391.7 MB, free: 31.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3952, allocations: 0 / 391.7 MB, free: 31.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.3954, allocations: 83.89 kB / 391.8 MB, free: 30.99 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.3958, allocations: 25.05 kB / 391.8 MB, free: 30.97 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.3979, allocations: 0.8504 MB / 392.7 MB, free: 30.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.3981, allocations: 0.7324 MB / 393.4 MB, free: 29.31 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.3983, allocations: 47.42 kB / 393.4 MB, free: 29.26 MB / 298.7 MB Notification: Performance of SimCode: time 1.182e-06/0.3983, allocations: 0 / 393.4 MB, free: 29.26 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.207/3.605, allocations: 7.729 MB / 401.2 MB, free: 21.52 MB / 298.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