Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001135/0.001134, allocations: 100.4 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001362/0.001362, allocations: 198 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002781/0.0002784, allocations: 8 kB / 306.7 MB, free: 1.273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1088, allocations: 51.49 MB / 358.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001752/0.1106, allocations: 1.309 MB / 359.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004909/0.1155, allocations: 3.046 MB / 362.5 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.1157, allocations: 8 kB / 362.5 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004182/0.1162, allocations: 59.77 kB / 362.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.991e-05/0.1162, allocations: 15.91 kB / 362.6 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003476/0.1197, allocations: 0.9721 MB / 363.6 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.12, allocations: 99.75 kB / 363.7 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1201, allocations: 29.03 kB / 363.7 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.788e-05/0.1202, allocations: 47.84 kB / 363.8 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.1203, allocations: 51.77 kB / 363.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.1203, allocations: 8 kB / 363.8 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.1217, allocations: 1.05 MB / 364.9 MB, free: 7.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.702e-05/0.1218, allocations: 27.91 kB / 364.9 MB, free: 7.062 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.1219, allocations: 45.64 kB / 364.9 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008988/0.1228, allocations: 1.076 MB / 366 MB, free: 5.934 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.1228, allocations: 0 / 366 MB, free: 5.934 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.1228, allocations: 0 / 366 MB, free: 5.934 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.1228, allocations: 3.938 kB / 366 MB, free: 5.93 MB / 302.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.0008712/0.1237, allocations: 0.5418 MB / 366.6 MB, free: 5.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.1237, allocations: 8.031 kB / 366.6 MB, free: 5.332 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.364e-05/0.1238, allocations: 42.55 kB / 366.6 MB, free: 5.281 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.1239, allocations: 15.75 kB / 366.6 MB, free: 5.266 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.1241, allocations: 214.8 kB / 366.8 MB, free: 5.016 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.1242, allocations: 8 kB / 366.9 MB, free: 5.008 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.1242, allocations: 15.89 kB / 366.9 MB, free: 4.992 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.1245, allocations: 125 kB / 367 MB, free: 4.852 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1245, allocations: 4 kB / 367 MB, free: 4.848 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.1245, allocations: 4 kB / 367 MB, free: 4.844 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1245, allocations: 0 / 367 MB, free: 4.844 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.1247, allocations: 59.95 kB / 367.1 MB, free: 4.785 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005988/0.1253, allocations: 388.4 kB / 367.4 MB, free: 4.355 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.1256, allocations: 130.6 kB / 367.6 MB, free: 4.219 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.1256, allocations: 0 / 367.6 MB, free: 4.219 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.1257, allocations: 34.56 kB / 367.6 MB, free: 4.176 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 9.22e-07/0.1257, allocations: 0 / 367.6 MB, free: 4.176 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.00206/0.1277, allocations: 1.228 MB / 368.8 MB, free: 2.816 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/0.1278, allocations: 145.6 kB / 369 MB, free: 2.645 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.128, allocations: 170.3 kB / 369.1 MB, free: 2.469 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.128, allocations: 29.7 kB / 369.2 MB, free: 2.434 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.796e-05/0.1281, allocations: 112.4 kB / 369.3 MB, free: 2.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.1281, allocations: 55.23 kB / 369.3 MB, free: 2.266 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.1282, allocations: 8 kB / 369.3 MB, free: 2.258 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1283, allocations: 326.8 kB / 369.7 MB, free: 1.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.1284, allocations: 91.94 kB / 369.7 MB, free: 1.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.1286, allocations: 138.9 kB / 369.9 MB, free: 1.695 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.1288, allocations: 120.7 kB / 370 MB, free: 1.578 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1288, allocations: 0 / 370 MB, free: 1.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005056/0.1293, allocations: 310.1 kB / 370.3 MB, free: 1.266 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.1294, allocations: 11.98 kB / 370.3 MB, free: 1.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.1294, allocations: 3.938 kB / 370.3 MB, free: 1.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000171/0.1296, allocations: 40.83 kB / 370.4 MB, free: 1.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.1297, allocations: 31.97 kB / 370.4 MB, free: 1.176 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1876/0.3174, allocations: 1.41 MB / 371.8 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.3176, allocations: 10.02 kB / 371.8 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.3176, allocations: 4.844 kB / 371.8 MB, free: 17.93 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.000128/0.3177, allocations: 140.9 kB / 371.9 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.3178, allocations: 15.58 kB / 372 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.871e-05/0.3178, allocations: 26.42 kB / 372 MB, free: 17.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3179, allocations: 3.281 kB / 372 MB, free: 17.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.3179, allocations: 0 / 372 MB, free: 17.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3179, allocations: 0.75 kB / 372 MB, free: 17.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.3181, allocations: 246.2 kB / 372.2 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3181, allocations: 0 / 372.2 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.3184, allocations: 54.47 kB / 372.3 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3185, allocations: 1.062 kB / 372.3 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.3185, allocations: 5.047 kB / 372.3 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3185, allocations: 2.469 kB / 372.3 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3185, allocations: 0.7812 kB / 372.3 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005161/0.319, allocations: 420.9 kB / 372.7 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.879e-05/0.319, allocations: 92.5 kB / 372.8 MB, free: 17.4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.3191, allocations: 5.344 kB / 372.8 MB, free: 17.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.3192, allocations: 7.062 kB / 372.8 MB, free: 17.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.3192, allocations: 14.89 kB / 372.8 MB, free: 17.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.3193, allocations: 10.64 kB / 372.8 MB, free: 17.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.3194, allocations: 127.1 kB / 373 MB, free: 17.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3194, allocations: 0 / 373 MB, free: 17.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001655/0.321, allocations: 0.5131 MB / 373.5 MB, free: 17.32 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.001865/0.3229, allocations: 1.388 MB / 374.9 MB, free: 16.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007242/0.3237, allocations: 394.5 kB / 375.2 MB, free: 16.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3237, allocations: 1.375 kB / 375.2 MB, free: 16.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.3238, allocations: 90.14 kB / 375.3 MB, free: 16.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.3241, allocations: 26.64 kB / 375.4 MB, free: 16.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.3252, allocations: 0.801 MB / 376.2 MB, free: 16.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.3254, allocations: 0.7374 MB / 376.9 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.534e-05/0.3255, allocations: 32.95 kB / 376.9 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.666e-05/0.3256, allocations: 45.56 kB / 377 MB, free: 15.37 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3256, allocations: 3.906 kB / 377 MB, free: 15.37 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/0.3524, allocations: 9.474 MB / 386.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001402/0.3525, allocations: 241 kB / 386.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.285, allocations: 2.672 kB / 386.7 MB, free: 12.61 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat does not exist to compare? outputFormat=mat