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.00108/0.00108, allocations: 107.9 kB / 18.4 MB, free: 4.68 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.001031/0.001031, allocations: 190.5 kB / 19.33 MB, free: 3.758 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.32/1.32, 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.001205/0.001205, allocations: 47.94 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07633/0.07754, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002477/0.08004, allocations: 1.597 MB / 377.4 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1559/0.236, allocations: 3.197 MB / 380.6 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.2361, allocations: 4.812 kB / 380.6 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003252/0.2365, allocations: 55.95 kB / 380.7 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.372e-05/0.2366, allocations: 13.52 kB / 380.7 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003379/0.24, allocations: 1.423 MB / 382.1 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.2403, allocations: 145.2 kB / 382.2 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.549e-05/0.2404, allocations: 24.06 kB / 382.3 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.63e-05/0.2405, allocations: 57.22 kB / 382.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.2406, allocations: 49.5 kB / 382.4 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.48e-05/0.2406, allocations: 12.06 kB / 382.4 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.2428, allocations: 1.378 MB / 383.8 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.2429, allocations: 41.5 kB / 383.8 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.754e-05/0.243, allocations: 53.92 kB / 383.8 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.2444, allocations: 1.201 MB / 385 MB, free: 9.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2444, allocations: 2.188 kB / 385 MB, free: 9.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2444, allocations: 1.094 kB / 385 MB, free: 9.594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.2445, allocations: 0 / 385 MB, free: 9.594 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.00114/0.2456, allocations: 0.5655 MB / 385.6 MB, free: 9.184 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.2456, allocations: 10.03 kB / 385.6 MB, free: 9.184 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.2457, allocations: 11.72 kB / 385.6 MB, free: 9.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.2459, allocations: 216.8 kB / 385.8 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.2459, allocations: 6.125 kB / 385.9 MB, free: 8.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.246, allocations: 16.38 kB / 385.9 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.2462, allocations: 130.7 kB / 386 MB, free: 8.895 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2462, allocations: 2.875 kB / 386 MB, free: 8.895 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.2462, allocations: 2.719 kB / 386 MB, free: 8.895 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2462, allocations: 1.062 kB / 386 MB, free: 8.895 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.2464, allocations: 55.27 kB / 386.1 MB, free: 8.895 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.2469, allocations: 385.1 kB / 386.4 MB, free: 8.605 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.2473, allocations: 128.1 kB / 386.6 MB, free: 8.555 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.2474, allocations: 43.56 kB / 386.6 MB, free: 8.535 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.2474, allocations: 1.094 kB / 386.6 MB, free: 8.535 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.303e-05/0.2474, allocations: 39.36 kB / 386.6 MB, free: 8.492 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.2474, allocations: 1.094 kB / 386.6 MB, free: 8.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.002003/0.2494, allocations: 1.221 MB / 387.9 MB, free: 7.648 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.2495, allocations: 131.8 kB / 388 MB, free: 7.492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.2496, allocations: 167.4 kB / 388.2 MB, free: 7.375 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.2496, allocations: 30.89 kB / 388.2 MB, free: 7.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.2497, allocations: 108.3 kB / 388.3 MB, free: 7.242 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.2497, allocations: 56.69 kB / 388.3 MB, free: 7.199 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/0.2498, allocations: 42.47 kB / 388.4 MB, free: 7.172 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.299e-05/0.2499, allocations: 332.4 kB / 388.7 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.25, allocations: 93.09 kB / 388.8 MB, free: 6.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.2502, allocations: 135.9 kB / 388.9 MB, free: 6.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.2505, allocations: 201.7 kB / 389.1 MB, free: 6.672 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2505, allocations: 0.875 kB / 389.1 MB, free: 6.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004971/0.251, allocations: 313.4 kB / 389.4 MB, free: 6.531 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.2511, allocations: 11.12 kB / 389.4 MB, free: 6.527 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.2511, allocations: 5.656 kB / 389.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001717/0.2513, allocations: 39.2 kB / 389.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.2514, allocations: 32.95 kB / 389.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009101/0.2524, allocations: 1.521 MB / 391 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.668e-05/0.2525, allocations: 10.36 kB / 391.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.2525, allocations: 7.25 kB / 391.1 MB, free: 5.059 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.561e-05/0.2526, allocations: 142.5 kB / 391.2 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.2526, allocations: 15.28 kB / 391.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.2527, allocations: 21.75 kB / 391.2 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2527, allocations: 1.094 kB / 391.2 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.2527, allocations: 1.469 kB / 391.2 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2527, allocations: 0.75 kB / 391.2 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.2529, allocations: 247.2 kB / 391.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.253, allocations: 0 / 391.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/0.2532, allocations: 57.64 kB / 391.5 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2532, allocations: 1.781 kB / 391.5 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.2533, allocations: 2.812 kB / 391.5 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.2533, allocations: 3.562 kB / 391.5 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2533, allocations: 3.938 kB / 391.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00044/0.2537, allocations: 417.2 kB / 392 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/0.2538, allocations: 83.92 kB / 392 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.2538, allocations: 6.156 kB / 392 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.2539, allocations: 10.31 kB / 392.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.254, allocations: 8.547 kB / 392.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.254, allocations: 2.75 kB / 392.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.027e-05/0.2541, allocations: 139 kB / 392.2 MB, free: 4.227 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2541, allocations: 0 / 392.2 MB, free: 4.227 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001783/0.2559, allocations: 0.5125 MB / 392.7 MB, free: 4.215 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.001008/0.2569, allocations: 0.5708 MB / 393.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005667/0.2575, allocations: 394.1 kB / 393.7 MB, free: 3.844 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2575, allocations: 1.156 kB / 393.7 MB, free: 3.844 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.2577, allocations: 89.86 kB / 393.8 MB, free: 3.816 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.258, allocations: 34.08 kB / 393.8 MB, free: 3.801 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005711/0.2586, allocations: 432.9 kB / 394.2 MB, free: 3.523 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.2587, allocations: 0.7297 MB / 394.9 MB, free: 2.824 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.2588, allocations: 21.12 kB / 395 MB, free: 2.812 MB / 318.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2588, allocations: 0 / 395 MB, free: 2.812 MB / 318.1 MB Notification: Performance of Templates: time 0.009245/0.2681, allocations: 6.194 MB / 401.2 MB, free: 0.9297 MB / 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