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.001287/0.001287, allocations: 117.7 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001483/0.001483, allocations: 203.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 63.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2809, allocations: 50.54 MB / 408.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003521/0.2844, allocations: 1.619 MB / 410.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005258/0.2897, allocations: 3.208 MB / 413.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.29, allocations: 0 / 413.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004323/0.2904, allocations: 55.69 kB / 413.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.095e-05/0.2905, allocations: 11.88 kB / 413.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003942/0.2945, allocations: 1.437 MB / 415.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.2948, allocations: 143.7 kB / 415.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.2949, allocations: 25.05 kB / 415.2 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.295, allocations: 59.78 kB / 415.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.2951, allocations: 55.69 kB / 415.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.2952, allocations: 8 kB / 415.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.2971, allocations: 1.382 MB / 416.7 MB, free: 9.535 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.396e-05/0.2972, allocations: 31.91 kB / 416.8 MB, free: 9.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.504e-05/0.2973, allocations: 59.59 kB / 416.8 MB, free: 9.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.2986, allocations: 1.209 MB / 418 MB, free: 8.234 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2987, allocations: 0 / 418 MB, free: 8.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2987, allocations: 0 / 418 MB, free: 8.234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.2987, allocations: 0 / 418 MB, free: 8.234 MB / 334.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.001313/0.3, allocations: 0.5575 MB / 418.6 MB, free: 7.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.3001, allocations: 15.97 kB / 418.6 MB, free: 7.613 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.659e-05/0.3001, allocations: 42.73 kB / 418.7 MB, free: 7.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.763e-05/0.3002, allocations: 12.75 kB / 418.7 MB, free: 7.551 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.3005, allocations: 216 kB / 418.9 MB, free: 7.301 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.3005, allocations: 8.375 kB / 418.9 MB, free: 7.293 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.3006, allocations: 16.11 kB / 418.9 MB, free: 7.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.3009, allocations: 121.1 kB / 419 MB, free: 7.141 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.3009, allocations: 4 kB / 419 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.3009, allocations: 0 / 419 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.3009, allocations: 0 / 419 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.3011, allocations: 63.89 kB / 419.1 MB, free: 7.074 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006761/0.3018, allocations: 380.6 kB / 419.5 MB, free: 6.652 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.3022, allocations: 126.5 kB / 419.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.76e-05/0.3023, allocations: 48.83 kB / 419.6 MB, free: 6.469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.3023, allocations: 0 / 419.6 MB, free: 6.469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.3024, allocations: 34.56 kB / 419.7 MB, free: 6.426 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.3024, allocations: 4 kB / 419.7 MB, free: 6.422 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002316/0.3047, allocations: 1.222 MB / 420.9 MB, free: 5.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.3048, allocations: 132.5 kB / 421 MB, free: 4.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.3049, allocations: 174.4 kB / 421.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.305, allocations: 29.7 kB / 421.2 MB, free: 4.695 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.305, allocations: 108.5 kB / 421.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.831e-05/0.3051, allocations: 55.19 kB / 421.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.837e-05/0.3052, allocations: 53.7 kB / 421.4 MB, free: 4.473 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.3053, allocations: 326.8 kB / 421.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.3055, allocations: 95.94 kB / 421.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.3056, allocations: 139.3 kB / 422 MB, free: 3.902 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.306, allocations: 200.8 kB / 422.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.306, allocations: 4 kB / 422.2 MB, free: 3.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005277/0.3065, allocations: 306 kB / 422.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3065, allocations: 4 kB / 422.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.3066, allocations: 0 / 422.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001954/0.3068, allocations: 44.81 kB / 422.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.3069, allocations: 27.98 kB / 422.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.3083, allocations: 1.519 MB / 424.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.3084, allocations: 12.19 kB / 424.1 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.3084, allocations: 4 kB / 424.1 MB, free: 1.633 MB / 334.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.3086, allocations: 138 kB / 424.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.573e-05/0.3086, allocations: 15.81 kB / 424.2 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.839e-05/0.3087, allocations: 25.52 kB / 424.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3087, allocations: 4 kB / 424.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3087, allocations: 7.875 kB / 424.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3087, allocations: 0 / 424.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.309, allocations: 249.5 kB / 424.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.309, allocations: 0 / 424.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.3093, allocations: 47.97 kB / 424.6 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.3093, allocations: 0 / 424.6 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.3093, allocations: 8.656 kB / 424.6 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3093, allocations: 0 / 424.6 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.3094, allocations: 7.922 kB / 424.6 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000557/0.3099, allocations: 411.1 kB / 425 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.379e-05/0.31, allocations: 92.95 kB / 425.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.31, allocations: 4 kB / 425.1 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.3101, allocations: 8 kB / 425.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.3102, allocations: 19.86 kB / 425.1 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.3102, allocations: 4 kB / 425.1 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.818e-05/0.3103, allocations: 124.2 kB / 425.2 MB, free: 408 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3103, allocations: 0 / 425.2 MB, free: 408 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.001732/0.3121, allocations: 0.5156 MB / 425.7 MB, free: 15.88 MB / 350.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002244/0.3143, allocations: 1.393 MB / 427.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007411/0.3151, allocations: 392.3 kB / 427.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3151, allocations: 0 / 427.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.3153, allocations: 94.84 kB / 427.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.3157, allocations: 35.89 kB / 427.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/0.3187, allocations: 2.442 MB / 430.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.319, allocations: 0.7319 MB / 430.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.3191, allocations: 33.05 kB / 430.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.159e-05/0.3192, allocations: 47.36 kB / 430.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3192, allocations: 0 / 430.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03318/0.3524, allocations: 9.94 MB / 440.8 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.403/9.755, allocations: 11.47 kB / 440.9 MB, free: 0.7305 MB / 350.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/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) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches