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.001221/0.001221, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.001288/0.001288, allocations: 184.1 kB / 18.66 MB, free: 4.434 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.391/1.391, 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.001591/0.001591, allocations: 55.92 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08996/0.09156, allocations: 46.62 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002695/0.09429, allocations: 1.589 MB / 376.2 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004786/0.09909, allocations: 3.2 MB / 379.4 MB, free: 284 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.906e-05/0.0992, allocations: 7.938 kB / 379.4 MB, free: 276 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.09953, allocations: 63.69 kB / 379.5 MB, free: 212 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.163e-05/0.09959, allocations: 11.86 kB / 379.5 MB, free: 200 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1728/0.2724, allocations: 1.415 MB / 380.9 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.2727, allocations: 151 kB / 381.1 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.914e-05/0.2728, allocations: 27.23 kB / 381.1 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.794e-05/0.2729, allocations: 55.09 kB / 381.2 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.841e-05/0.273, allocations: 57.97 kB / 381.2 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.273, allocations: 6.875 kB / 381.2 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.2749, allocations: 1.376 MB / 382.6 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.408e-05/0.275, allocations: 33.61 kB / 382.6 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.326e-05/0.275, allocations: 52.3 kB / 382.7 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.2764, allocations: 1.207 MB / 383.9 MB, free: 9.066 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2764, allocations: 1.156 kB / 383.9 MB, free: 9.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2764, allocations: 0 / 383.9 MB, free: 9.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.2764, allocations: 0 / 383.9 MB, free: 9.066 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.0008872/0.2773, allocations: 0.5744 MB / 384.5 MB, free: 8.652 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.2774, allocations: 9.031 kB / 384.5 MB, free: 8.652 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.19e-05/0.2774, allocations: 40.7 kB / 384.5 MB, free: 8.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.2775, allocations: 15.91 kB / 384.5 MB, free: 8.605 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.2776, allocations: 213.5 kB / 384.7 MB, free: 8.398 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.2777, allocations: 5.469 kB / 384.7 MB, free: 8.398 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.2777, allocations: 14.55 kB / 384.7 MB, free: 8.395 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.2779, allocations: 133.2 kB / 384.9 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.278, allocations: 1 kB / 384.9 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.278, allocations: 1.188 kB / 384.9 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.278, allocations: 5.891 kB / 384.9 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.2781, allocations: 60.59 kB / 384.9 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004758/0.2786, allocations: 381.6 kB / 385.3 MB, free: 8.047 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003324/0.279, allocations: 124.2 kB / 385.4 MB, free: 8.023 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.216e-05/0.2791, allocations: 41.3 kB / 385.5 MB, free: 8.016 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.2791, allocations: 0.9062 kB / 385.5 MB, free: 8.016 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.2791, allocations: 38.7 kB / 385.5 MB, free: 7.977 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.482e-06/0.2791, allocations: 5.219 kB / 385.5 MB, free: 7.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001938/0.2811, allocations: 1.218 MB / 386.7 MB, free: 7.277 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.2811, allocations: 135.6 kB / 386.9 MB, free: 7.117 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.2812, allocations: 172.6 kB / 387 MB, free: 6.996 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.2813, allocations: 26.73 kB / 387.1 MB, free: 6.965 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.2813, allocations: 117.4 kB / 387.2 MB, free: 6.859 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.449e-05/0.2814, allocations: 55.19 kB / 387.2 MB, free: 6.816 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.69e-05/0.2814, allocations: 47.91 kB / 387.3 MB, free: 6.785 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.735e-05/0.2815, allocations: 328.4 kB / 387.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.2817, allocations: 92.89 kB / 387.7 MB, free: 6.438 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.2819, allocations: 140.3 kB / 387.8 MB, free: 6.367 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002948/0.2822, allocations: 200.6 kB / 388 MB, free: 6.289 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.2822, allocations: 4 kB / 388 MB, free: 6.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004884/0.2827, allocations: 305.7 kB / 388.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2827, allocations: 4.438 kB / 388.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.2827, allocations: 2.734 kB / 388.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001779/0.2829, allocations: 43.75 kB / 388.4 MB, free: 6.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.2831, allocations: 30.03 kB / 388.4 MB, free: 6.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008636/0.2839, allocations: 1.519 MB / 389.9 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.967e-05/0.284, allocations: 14.61 kB / 389.9 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.2841, allocations: 8.844 kB / 390 MB, free: 4.684 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.719e-05/0.2841, allocations: 140.8 kB / 390.1 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.2842, allocations: 15.44 kB / 390.1 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.682e-05/0.2842, allocations: 25.73 kB / 390.1 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.2842, allocations: 1.406 kB / 390.1 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.2843, allocations: 0 / 390.1 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2843, allocations: 6.625 kB / 390.1 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.2845, allocations: 249.2 kB / 390.4 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2845, allocations: 1.062 kB / 390.4 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.2848, allocations: 51.61 kB / 390.4 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2848, allocations: 0 / 390.4 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.2848, allocations: 6.5 kB / 390.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.2848, allocations: 5.016 kB / 390.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2848, allocations: 0 / 390.4 MB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004443/0.2852, allocations: 413.8 kB / 390.8 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.2853, allocations: 89.78 kB / 390.9 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.2853, allocations: 7.094 kB / 390.9 MB, free: 3.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.2854, allocations: 10.23 kB / 391 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.2855, allocations: 7.703 kB / 391 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.2855, allocations: 5.562 kB / 391 MB, free: 3.949 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.699e-05/0.2856, allocations: 133.2 kB / 391.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.22e-07/0.2856, allocations: 0 / 391.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001954/0.2875, allocations: 0.5198 MB / 391.6 MB, free: 3.84 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.001721/0.2893, allocations: 1.397 MB / 393 MB, free: 3.062 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005896/0.2899, allocations: 396.6 kB / 393.4 MB, free: 2.816 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2899, allocations: 1.594 kB / 393.4 MB, free: 2.816 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.29, allocations: 90.89 kB / 393.5 MB, free: 2.793 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.2903, allocations: 31.5 kB / 393.5 MB, free: 2.777 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.2927, allocations: 2.455 MB / 396 MB, free: 1.176 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.2929, allocations: 0.7342 MB / 396.7 MB, free: 484 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.595e-05/0.293, allocations: 31.44 kB / 396.7 MB, free: 480 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.2931, allocations: 43.55 kB / 396.8 MB, free: 448 kB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2931, allocations: 0 / 396.8 MB, free: 448 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03954/0.3326, allocations: 9.902 MB / 406.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.98/10.31, allocations: 12.19 kB / 406.7 MB, free: 12.38 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) "" Variables in the reference:time,Bessel.x[1],Bessel.x[2],Bessel.x[3] Variables in the result:Bessel.A_ripple,Bessel.analogFilter,Bessel.f_cut,Bessel.f_min,Bessel.filterType,Bessel.gain,Bessel.init,Bessel.normalized,Bessel.nx,Bessel.order,Bessel.u,Bessel.u_nominal,Bessel.x[1],Bessel.x[2],Bessel.x[3],Bessel.x_start[1],Bessel.x_start[2],Bessel.x_start[3],Bessel.y,Bessel.y_start,der(Bessel.x[1]),der(Bessel.x[2]),der(Bessel.x[3]),der(der(Bessel.x[2])),der(der(Bessel.x[3])),der(der(der(Bessel.x[3]))),der(der1.u),der(der2.u),der(der3.u),der1.u,der1.y,der2.u,der2.y,der3.u,der3.y,f_cut,step.height,step.offset,step.startTime,step.y,time