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: 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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 107.3 kB / 18.41 MB, free: 4.695 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.001253/0.001253, allocations: 187.3 kB / 19.34 MB, free: 3.773 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.258/1.258, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001166/0.001166, allocations: 51.94 kB / 329.2 MB, free: 3.328 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06883/0.07001, allocations: 46.62 MB / 375.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002376/0.07241, allocations: 1.601 MB / 377.4 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1459/0.2183, allocations: 3.198 MB / 380.6 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.2185, allocations: 1.156 kB / 380.6 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.2188, allocations: 57.38 kB / 380.7 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.963e-05/0.2189, allocations: 15.66 kB / 380.7 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003114/0.222, allocations: 1.417 MB / 382.1 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.2222, allocations: 143.5 kB / 382.2 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.2224, allocations: 29.44 kB / 382.3 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.942e-05/0.2225, allocations: 56.27 kB / 382.3 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.2226, allocations: 50.73 kB / 382.4 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.2226, allocations: 8 kB / 382.4 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.2247, allocations: 1.384 MB / 383.8 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.929e-05/0.2248, allocations: 46.27 kB / 383.8 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.764e-05/0.2248, allocations: 47.97 kB / 383.9 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.2261, allocations: 1.202 MB / 385.1 MB, free: 9.578 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2261, allocations: 0 / 385.1 MB, free: 9.578 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2261, allocations: 0 / 385.1 MB, free: 9.578 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.2262, allocations: 4.219 kB / 385.1 MB, free: 9.578 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.001117/0.2273, allocations: 0.5598 MB / 385.6 MB, free: 9.172 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.2273, allocations: 9.5 kB / 385.6 MB, free: 9.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.2274, allocations: 13.06 kB / 385.6 MB, free: 9.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.2276, allocations: 220.8 kB / 385.9 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.2276, allocations: 6 kB / 385.9 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.2276, allocations: 13.88 kB / 385.9 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.2278, allocations: 128.2 kB / 386 MB, free: 8.883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.2279, allocations: 1.875 kB / 386 MB, free: 8.883 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.2279, allocations: 6.359 kB / 386 MB, free: 8.883 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2279, allocations: 6.188 kB / 386 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.228, allocations: 53.86 kB / 386.1 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/0.2285, allocations: 380.1 kB / 386.4 MB, free: 8.605 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003274/0.2289, allocations: 128.6 kB / 386.6 MB, free: 8.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.012e-05/0.2289, allocations: 43.64 kB / 386.6 MB, free: 8.547 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.229, allocations: 1.062 kB / 386.6 MB, free: 8.547 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.327e-05/0.229, allocations: 36.28 kB / 386.6 MB, free: 8.504 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.229, allocations: 0 / 386.6 MB, free: 8.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.001903/0.2309, allocations: 1.219 MB / 387.9 MB, free: 7.664 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.2309, allocations: 135 kB / 388 MB, free: 7.504 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.2311, allocations: 171.8 kB / 388.2 MB, free: 7.383 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.2311, allocations: 29.02 kB / 388.2 MB, free: 7.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/0.2311, allocations: 109.1 kB / 388.3 MB, free: 7.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.2312, allocations: 57.45 kB / 388.4 MB, free: 7.207 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.683e-05/0.2312, allocations: 44.06 kB / 388.4 MB, free: 7.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.288e-05/0.2313, allocations: 328.4 kB / 388.7 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.2315, allocations: 92.5 kB / 388.8 MB, free: 6.832 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.2316, allocations: 144.2 kB / 388.9 MB, free: 6.758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.2319, allocations: 196.9 kB / 389.1 MB, free: 6.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2319, allocations: 0 / 389.1 MB, free: 6.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004883/0.2324, allocations: 306.1 kB / 389.4 MB, free: 6.551 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.2325, allocations: 13.41 kB / 389.5 MB, free: 6.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.2325, allocations: 4.406 kB / 389.5 MB, free: 6.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001691/0.2327, allocations: 47.58 kB / 389.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.2328, allocations: 31.7 kB / 389.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008565/0.2337, allocations: 1.52 MB / 391.1 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.423e-05/0.2338, allocations: 6.172 kB / 391.1 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.2338, allocations: 7.906 kB / 391.1 MB, free: 5.074 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.709e-05/0.2339, allocations: 138.9 kB / 391.2 MB, free: 4.945 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.2339, allocations: 18.16 kB / 391.2 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.258e-05/0.234, allocations: 25.69 kB / 391.2 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.234, allocations: 2.078 kB / 391.2 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.234, allocations: 0 / 391.2 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.302e-05/0.234, allocations: 87.22 kB / 391.3 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.2341, allocations: 8.625 kB / 391.3 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.2342, allocations: 10.56 kB / 391.4 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.2342, allocations: 7.859 kB / 391.4 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005328/0.2348, allocations: 337.5 kB / 391.7 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000445/0.2352, allocations: 489.4 kB / 392.2 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001249/0.2354, allocations: 89.39 kB / 392.3 MB, free: 4.289 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.989e-05/0.2354, allocations: 134.3 kB / 392.4 MB, free: 4.195 MB / 318.1 MB Notification: Performance of Backend: time 2.31e-07/0.2355, allocations: 0 / 392.4 MB, free: 4.195 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0019/0.2374, allocations: 0.8437 MB / 393.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of SimCode: time 0.0005425/0.2379, allocations: 0.7853 MB / 394 MB, free: 3.188 MB / 318.1 MB Notification: Performance of Templates: time 0.01147/0.2494, allocations: 8.169 MB / 402.2 MB, free: 332 kB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (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 & ./Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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