Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithDifferentiation,fileNamePrefix="Modelica_3_2_3_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.001152/0.001152, allocations: 101.5 kB / 17.72 MB, free: 5.371 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.001214/0.001214, allocations: 192 kB / 18.66 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.367/1.367, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 59.91 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08929/0.0906, allocations: 46.61 MB / 374.6 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003488/0.09413, allocations: 1.601 MB / 376.2 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005377/0.09954, allocations: 3.208 MB / 379.4 MB, free: 276 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.09974, allocations: 11.94 kB / 379.4 MB, free: 264 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004028/0.1002, allocations: 47.77 kB / 379.5 MB, free: 216 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.208e-05/0.1003, allocations: 19.8 kB / 379.5 MB, free: 196 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1886/0.2889, allocations: 1.402 MB / 380.9 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.2892, allocations: 149.2 kB / 381.1 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.2893, allocations: 26.92 kB / 381.1 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.812e-05/0.2894, allocations: 58.14 kB / 381.1 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.2895, allocations: 50.84 kB / 381.2 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.2895, allocations: 9.469 kB / 381.2 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00171/0.2912, allocations: 1.378 MB / 382.6 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.937e-05/0.2913, allocations: 35.69 kB / 382.6 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.434e-05/0.2914, allocations: 54.78 kB / 382.7 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.2927, allocations: 1.207 MB / 383.9 MB, free: 8.676 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2927, allocations: 0 / 383.9 MB, free: 8.676 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2927, allocations: 0 / 383.9 MB, free: 8.676 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.2927, allocations: 0 / 383.9 MB, free: 8.676 MB / 318.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.0009721/0.2937, allocations: 0.5642 MB / 384.4 MB, free: 8.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.2938, allocations: 10.41 kB / 384.4 MB, free: 8.277 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.42e-05/0.2938, allocations: 43.36 kB / 384.5 MB, free: 8.238 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.2939, allocations: 15.28 kB / 384.5 MB, free: 8.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.2941, allocations: 211.3 kB / 384.7 MB, free: 8.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.2941, allocations: 8.156 kB / 384.7 MB, free: 8.023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.2941, allocations: 13.91 kB / 384.7 MB, free: 8.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.2944, allocations: 134.5 kB / 384.9 MB, free: 7.949 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.2944, allocations: 2.203 kB / 384.9 MB, free: 7.949 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.2944, allocations: 4.219 kB / 384.9 MB, free: 7.949 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2944, allocations: 1.906 kB / 384.9 MB, free: 7.949 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.2946, allocations: 60.09 kB / 384.9 MB, free: 7.949 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.2951, allocations: 383 kB / 385.3 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.2954, allocations: 123.9 kB / 385.4 MB, free: 7.648 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.892e-05/0.2955, allocations: 42.36 kB / 385.5 MB, free: 7.641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-06/0.2955, allocations: 1.062 kB / 385.5 MB, free: 7.641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/0.2955, allocations: 40.34 kB / 385.5 MB, free: 7.602 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.193e-06/0.2955, allocations: 4 kB / 385.5 MB, free: 7.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001956/0.2975, allocations: 1.218 MB / 386.7 MB, free: 6.941 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.2976, allocations: 132.5 kB / 386.9 MB, free: 6.785 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.2977, allocations: 167.5 kB / 387 MB, free: 6.688 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.2977, allocations: 28.75 kB / 387.1 MB, free: 6.656 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.2978, allocations: 108.6 kB / 387.2 MB, free: 6.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.2978, allocations: 55.89 kB / 387.2 MB, free: 6.535 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-05/0.2979, allocations: 49.52 kB / 387.3 MB, free: 6.516 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.898e-05/0.2979, allocations: 326.7 kB / 387.6 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.2981, allocations: 95.05 kB / 387.7 MB, free: 6.203 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.2983, allocations: 136.1 kB / 387.8 MB, free: 6.168 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.2986, allocations: 203 kB / 388 MB, free: 6.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2986, allocations: 1.062 kB / 388 MB, free: 6.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005073/0.2991, allocations: 314.4 kB / 388.3 MB, free: 6.031 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2992, allocations: 4.188 kB / 388.3 MB, free: 6.031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.2992, allocations: 2.312 kB / 388.3 MB, free: 6.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001787/0.2994, allocations: 43.45 kB / 388.4 MB, free: 6.016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.2995, allocations: 30.02 kB / 388.4 MB, free: 6.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008833/0.3004, allocations: 1.52 MB / 389.9 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.42e-05/0.3005, allocations: 14.27 kB / 389.9 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.3006, allocations: 7.672 kB / 389.9 MB, free: 4.559 MB / 318.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 8.92e-05/0.3006, allocations: 141.6 kB / 390.1 MB, free: 4.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.3007, allocations: 15.83 kB / 390.1 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.927e-05/0.3007, allocations: 25.06 kB / 390.1 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3008, allocations: 3.172 kB / 390.1 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.3008, allocations: 0 / 390.1 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3008, allocations: 7.188 kB / 390.1 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.301, allocations: 250.4 kB / 390.4 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.301, allocations: 2.75 kB / 390.4 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.3013, allocations: 49.48 kB / 390.4 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3013, allocations: 1.125 kB / 390.4 MB, free: 4.176 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.3013, allocations: 5.094 kB / 390.4 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3013, allocations: 1.156 kB / 390.4 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3013, allocations: 0 / 390.4 MB, free: 4.172 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004475/0.3018, allocations: 422.5 kB / 390.8 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.675e-05/0.3018, allocations: 89.41 kB / 390.9 MB, free: 3.836 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.3018, allocations: 5.75 kB / 390.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.302, allocations: 5.641 kB / 390.9 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.302, allocations: 12.58 kB / 390.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.302, allocations: 9.75 kB / 391 MB, free: 3.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.814e-05/0.3021, allocations: 132.4 kB / 391.1 MB, free: 3.727 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3021, allocations: 0 / 391.1 MB, free: 3.727 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002147/0.3043, allocations: 0.5182 MB / 391.6 MB, free: 3.711 MB / 318.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.001801/0.3061, allocations: 1.381 MB / 393 MB, free: 2.941 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006097/0.3067, allocations: 398 kB / 393.4 MB, free: 2.695 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3067, allocations: 0 / 393.4 MB, free: 2.695 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.3069, allocations: 92.5 kB / 393.5 MB, free: 2.672 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.3072, allocations: 36.66 kB / 393.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/0.31, allocations: 2.438 MB / 395.9 MB, free: 1.066 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.3102, allocations: 0.7344 MB / 396.7 MB, free: 372 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.3103, allocations: 29.78 kB / 396.7 MB, free: 368 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.925e-05/0.3104, allocations: 45.23 kB / 396.7 MB, free: 336 kB / 318.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3104, allocations: 0 / 396.7 MB, free: 336 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03559/0.346, allocations: 9.969 MB / 406.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.95/10.3, allocations: 18 kB / 406.7 MB, free: 12.27 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithDifferentiation.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches