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.001148/0.001148, allocations: 106.6 kB / 17.73 MB, free: 5.328 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.001075/0.001075, allocations: 191 kB / 18.66 MB, free: 4.398 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.427/1.427, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.001413/0.001413, allocations: 59.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08764/0.08907, allocations: 46.62 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002767/0.09188, allocations: 1.593 MB / 376.2 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004894/0.09679, allocations: 3.212 MB / 379.4 MB, free: 264 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.09696, allocations: 7.938 kB / 379.4 MB, free: 256 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.09731, allocations: 51.77 kB / 379.5 MB, free: 204 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.956e-05/0.09739, allocations: 15.86 kB / 379.5 MB, free: 188 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1695/0.2669, allocations: 1.407 MB / 380.9 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.2672, allocations: 145.7 kB / 381.1 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.2673, allocations: 29.08 kB / 381.1 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.658e-05/0.2674, allocations: 53.88 kB / 381.1 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.2675, allocations: 53.69 kB / 381.2 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.2675, allocations: 7.844 kB / 381.2 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.2695, allocations: 1.381 MB / 382.6 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.345e-05/0.2696, allocations: 32.89 kB / 382.6 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.038e-05/0.2697, allocations: 47.64 kB / 382.7 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.2711, allocations: 1.21 MB / 383.9 MB, free: 9.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.82e-06/0.2711, allocations: 4.031 kB / 383.9 MB, free: 9.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.2711, allocations: 1.781 kB / 383.9 MB, free: 9.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.2711, allocations: 0 / 383.9 MB, free: 9.07 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.0012/0.2723, allocations: 0.5634 MB / 384.4 MB, free: 8.672 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.2724, allocations: 10.16 kB / 384.4 MB, free: 8.672 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.2724, allocations: 39.36 kB / 384.5 MB, free: 8.633 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/0.2725, allocations: 16.38 kB / 384.5 MB, free: 8.625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.2727, allocations: 214.9 kB / 384.7 MB, free: 8.418 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.2727, allocations: 10.19 kB / 384.7 MB, free: 8.418 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/0.2728, allocations: 13.77 kB / 384.7 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.273, allocations: 131.3 kB / 384.9 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.273, allocations: 4.688 kB / 384.9 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.2731, allocations: 4.062 kB / 384.9 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.2731, allocations: 2.125 kB / 384.9 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.2732, allocations: 61.12 kB / 384.9 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005207/0.2737, allocations: 373.7 kB / 385.3 MB, free: 8.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.2741, allocations: 135.6 kB / 385.4 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.268e-05/0.2742, allocations: 41.62 kB / 385.5 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.2742, allocations: 1.125 kB / 385.5 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.2742, allocations: 32.36 kB / 385.5 MB, free: 7.996 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.2742, allocations: 0 / 385.5 MB, free: 7.996 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001967/0.2762, allocations: 1.221 MB / 386.7 MB, free: 7.293 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.2763, allocations: 135.1 kB / 386.9 MB, free: 7.137 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.2764, allocations: 175.3 kB / 387 MB, free: 7.016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.2764, allocations: 26.86 kB / 387.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.2765, allocations: 111 kB / 387.2 MB, free: 6.883 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.2765, allocations: 53.42 kB / 387.2 MB, free: 6.844 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.198e-05/0.2766, allocations: 47.52 kB / 387.3 MB, free: 6.812 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.2767, allocations: 328.5 kB / 387.6 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.2768, allocations: 97.88 kB / 387.7 MB, free: 6.461 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.277, allocations: 135.7 kB / 387.8 MB, free: 6.391 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.2773, allocations: 196.6 kB / 388 MB, free: 6.312 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2773, allocations: 1.344 kB / 388 MB, free: 6.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005016/0.2778, allocations: 312.6 kB / 388.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2778, allocations: 5.406 kB / 388.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.2779, allocations: 3.234 kB / 388.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001877/0.2781, allocations: 46.61 kB / 388.4 MB, free: 6.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.2782, allocations: 32.48 kB / 388.4 MB, free: 6.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000948/0.2792, allocations: 1.522 MB / 389.9 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.936e-05/0.2793, allocations: 15.22 kB / 389.9 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.2793, allocations: 3.25 kB / 389.9 MB, free: 4.707 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 9.719e-05/0.2794, allocations: 141.5 kB / 390.1 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.2795, allocations: 15.22 kB / 390.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.717e-05/0.2795, allocations: 26.09 kB / 390.1 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2795, allocations: 2.125 kB / 390.1 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.2795, allocations: 0 / 390.1 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.2796, allocations: 6.344 kB / 390.1 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.2798, allocations: 242.4 kB / 390.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2798, allocations: 0 / 390.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.2801, allocations: 58.67 kB / 390.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.2801, allocations: 1.281 kB / 390.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.2801, allocations: 5.812 kB / 390.4 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.2801, allocations: 1.094 kB / 390.4 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2801, allocations: 0 / 390.4 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004608/0.2806, allocations: 417.4 kB / 390.8 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.941e-05/0.2806, allocations: 88.7 kB / 390.9 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.2806, allocations: 10.69 kB / 390.9 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.2807, allocations: 4.672 kB / 390.9 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.2808, allocations: 12.31 kB / 390.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.2808, allocations: 7.5 kB / 391 MB, free: 3.965 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.372e-05/0.2809, allocations: 130.7 kB / 391.1 MB, free: 3.871 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2809, allocations: 1.438 kB / 391.1 MB, free: 3.871 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002329/0.2832, allocations: 0.5184 MB / 391.6 MB, free: 3.855 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.00205/0.2853, allocations: 1.39 MB / 393 MB, free: 3.082 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006336/0.2859, allocations: 389.1 kB / 393.4 MB, free: 2.844 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.286, allocations: 3.938 kB / 393.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.2861, allocations: 92.38 kB / 393.5 MB, free: 2.812 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.2864, allocations: 41.34 kB / 393.5 MB, free: 2.793 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/0.2893, allocations: 2.444 MB / 395.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.2895, allocations: 0.7327 MB / 396.7 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.2896, allocations: 29.97 kB / 396.7 MB, free: 0.5 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.944e-05/0.2896, allocations: 44.59 kB / 396.8 MB, free: 480 kB / 318.1 MB Notification: Performance of SimCode: time 7.92e-07/0.2897, allocations: 0 / 396.8 MB, free: 480 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.43/0.7196, allocations: 9.952 MB / 406.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.803/10.52, 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) Reference file matches