Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001214, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009472/0.000947, allocations: 113.7 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000848/0.0008485, allocations: 35.94 kB / 350 MB, free: 92 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2222, allocations: 49.45 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.00222/0.2244, allocations: 1.655 MB / 401.1 MB, free: 31.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003973/0.2284, allocations: 3.547 MB / 404.7 MB, free: 28.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.682e-05/0.2286, allocations: 3.938 kB / 404.7 MB, free: 28.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.2289, allocations: 43.83 kB / 404.7 MB, free: 28.1 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.244e-05/0.2289, allocations: 11.86 kB / 404.7 MB, free: 28.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002912/0.2319, allocations: 1.073 MB / 405.8 MB, free: 27.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.2321, allocations: 135.6 kB / 405.9 MB, free: 26.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.2322, allocations: 30.66 kB / 406 MB, free: 26.86 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.438e-05/0.2323, allocations: 47.78 kB / 406 MB, free: 26.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.2324, allocations: 55.7 kB / 406.1 MB, free: 26.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.2324, allocations: 4 kB / 406.1 MB, free: 26.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.2336, allocations: 1.362 MB / 407.4 MB, free: 25.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.228e-05/0.2336, allocations: 31.91 kB / 407.5 MB, free: 25.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.903e-05/0.2337, allocations: 51.66 kB / 407.5 MB, free: 25.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006994/0.2344, allocations: 1.193 MB / 408.7 MB, free: 24.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2344, allocations: 4 kB / 408.7 MB, free: 24.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2344, allocations: 0 / 408.7 MB, free: 24.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.2344, allocations: 0 / 408.7 MB, free: 24.11 MB / 298.7 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.0007137/0.2352, allocations: 0.5652 MB / 409.3 MB, free: 23.49 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.2352, allocations: 12.03 kB / 409.3 MB, free: 23.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.2352, allocations: 12.75 kB / 409.3 MB, free: 23.47 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.2354, allocations: 208 kB / 409.5 MB, free: 23.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.2355, allocations: 12.12 kB / 409.5 MB, free: 23.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.2355, allocations: 15.98 kB / 409.5 MB, free: 23.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.2357, allocations: 121.9 kB / 409.6 MB, free: 23.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.2357, allocations: 4 kB / 409.7 MB, free: 23.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.2357, allocations: 0 / 409.7 MB, free: 23.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2357, allocations: 4 kB / 409.7 MB, free: 23.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.2359, allocations: 63.05 kB / 409.7 MB, free: 23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.2363, allocations: 384.5 kB / 410.1 MB, free: 22.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.2366, allocations: 122.6 kB / 410.2 MB, free: 22.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.054e-05/0.2367, allocations: 48.83 kB / 410.3 MB, free: 22.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.2368, allocations: 4.125 kB / 410.3 MB, free: 22.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.2368, allocations: 34.56 kB / 410.3 MB, free: 22.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.2368, allocations: 3.938 kB / 410.3 MB, free: 22.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001674/0.2385, allocations: 1.21 MB / 411.5 MB, free: 21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.2385, allocations: 128.5 kB / 411.6 MB, free: 20.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.979e-05/0.2386, allocations: 183.9 kB / 411.8 MB, free: 20.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.2386, allocations: 29.7 kB / 411.8 MB, free: 20.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.2387, allocations: 104.5 kB / 411.9 MB, free: 20.51 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.2387, allocations: 59.19 kB / 412 MB, free: 20.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.933e-05/0.2388, allocations: 49.7 kB / 412.1 MB, free: 20.4 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.649e-05/0.2388, allocations: 322.8 kB / 412.4 MB, free: 20.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.239, allocations: 95.94 kB / 412.5 MB, free: 19.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.2391, allocations: 139.3 kB / 412.6 MB, free: 19.83 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.2394, allocations: 198.3 kB / 412.8 MB, free: 19.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2394, allocations: 3.938 kB / 412.8 MB, free: 19.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003945/0.2398, allocations: 314.2 kB / 413.1 MB, free: 19.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2398, allocations: 4 kB / 413.1 MB, free: 19.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.2398, allocations: 0 / 413.1 MB, free: 19.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001498/0.24, allocations: 50.03 kB / 413.2 MB, free: 19.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.2401, allocations: 31.92 kB / 413.2 MB, free: 19.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007467/0.2409, allocations: 1.405 MB / 414.6 MB, free: 17.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.095e-05/0.241, allocations: 11.97 kB / 414.6 MB, free: 17.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.241, allocations: 7.938 kB / 414.6 MB, free: 17.67 MB / 298.7 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 7.98e-05/0.2411, allocations: 133.8 kB / 414.7 MB, free: 17.53 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.2411, allocations: 19.8 kB / 414.8 MB, free: 17.51 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.881e-05/0.2412, allocations: 21.53 kB / 414.8 MB, free: 17.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2412, allocations: 0 / 414.8 MB, free: 17.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.2412, allocations: 4.094 kB / 414.8 MB, free: 17.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.2412, allocations: 0 / 414.8 MB, free: 17.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.2414, allocations: 249.5 kB / 415 MB, free: 17.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2414, allocations: 4 kB / 415 MB, free: 17.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.2416, allocations: 59.84 kB / 415.1 MB, free: 17.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2416, allocations: 4 kB / 415.1 MB, free: 17.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.2417, allocations: 0 / 415.1 MB, free: 17.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2417, allocations: 0 / 415.1 MB, free: 17.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2417, allocations: 3.984 kB / 415.1 MB, free: 17.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.244, allocations: 2.302 MB / 417.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.244, allocations: 85.11 kB / 417.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.2441, allocations: 7.938 kB / 417.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.93e-05/0.2442, allocations: 16.02 kB / 417.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.2442, allocations: 15.92 kB / 417.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.2442, allocations: 4 kB / 417.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.959e-05/0.2443, allocations: 127.5 kB / 417.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2443, allocations: 0 / 417.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001286/0.2456, allocations: 0.5273 MB / 418.2 MB, free: 13.88 MB / 298.7 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.0008152/0.2464, allocations: 0.5469 MB / 418.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005049/0.2469, allocations: 393.9 kB / 419.1 MB, free: 12.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2469, allocations: 4 kB / 419.1 MB, free: 12.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.2471, allocations: 87.89 kB / 419.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.2474, allocations: 26.64 kB / 419.2 MB, free: 12.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006147/0.248, allocations: 0.6003 MB / 419.8 MB, free: 12.17 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.2482, allocations: 0.7362 MB / 420.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.368e-05/0.2483, allocations: 41.05 kB / 420.6 MB, free: 11.37 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.2483, allocations: 15.44 kB / 420.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2483, allocations: 0 / 420.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of Templates: time 0.009877/0.2582, allocations: 8.451 MB / 429.1 MB, free: 2.906 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches