Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001422/0.001422, allocations: 118.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001637/0.001637, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2228, allocations: 50.54 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003646/0.2265, allocations: 1.62 MB / 411.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007277/0.2338, allocations: 3.206 MB / 414.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.234, allocations: 4 kB / 414.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.2344, allocations: 55.7 kB / 414.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.023e-05/0.2345, allocations: 11.86 kB / 414.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004846/0.2393, allocations: 1.432 MB / 416.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.2396, allocations: 147.6 kB / 416.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.2398, allocations: 21.12 kB / 416.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.2399, allocations: 59.81 kB / 416.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.2401, allocations: 47.72 kB / 416.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.2401, allocations: 8 kB / 416.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.2424, allocations: 1.386 MB / 417.9 MB, free: 9.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.259e-05/0.2425, allocations: 39.89 kB / 418 MB, free: 9.527 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.135e-05/0.2426, allocations: 47.67 kB / 418 MB, free: 9.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.2442, allocations: 1.212 MB / 419.2 MB, free: 8.266 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2443, allocations: 0 / 419.2 MB, free: 8.266 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.2443, allocations: 3.938 kB / 419.2 MB, free: 8.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.2443, allocations: 0 / 419.2 MB, free: 8.262 MB / 334.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.2455, allocations: 0.5575 MB / 419.8 MB, free: 7.656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.2456, allocations: 8.031 kB / 419.8 MB, free: 7.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.836e-05/0.2456, allocations: 20.69 kB / 419.8 MB, free: 7.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.246, allocations: 212.1 kB / 420 MB, free: 7.383 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.246, allocations: 12.38 kB / 420 MB, free: 7.371 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.269e-05/0.246, allocations: 20.27 kB / 420 MB, free: 7.352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.2464, allocations: 121 kB / 420.2 MB, free: 7.215 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.2464, allocations: 0 / 420.2 MB, free: 7.215 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.2464, allocations: 3.984 kB / 420.2 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.2465, allocations: 4 kB / 420.2 MB, free: 7.207 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.2467, allocations: 63.89 kB / 420.2 MB, free: 7.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007958/0.2475, allocations: 376.6 kB / 420.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/0.248, allocations: 126.5 kB / 420.7 MB, free: 6.594 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.2481, allocations: 44.83 kB / 420.8 MB, free: 6.547 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.2482, allocations: 8 kB / 420.8 MB, free: 6.539 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.2482, allocations: 30.56 kB / 420.8 MB, free: 6.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.854e-06/0.2482, allocations: 0 / 420.8 MB, free: 6.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.003245/0.2515, allocations: 1.223 MB / 422 MB, free: 5.148 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.992e-05/0.2516, allocations: 132.5 kB / 422.2 MB, free: 4.988 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.2518, allocations: 174.4 kB / 422.3 MB, free: 4.809 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.2519, allocations: 33.64 kB / 422.4 MB, free: 4.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.18e-05/0.252, allocations: 112.6 kB / 422.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.575e-05/0.2521, allocations: 51.14 kB / 422.5 MB, free: 4.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.2522, allocations: 49.7 kB / 422.6 MB, free: 4.551 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.2524, allocations: 322.8 kB / 422.9 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.2526, allocations: 103.9 kB / 423 MB, free: 4.125 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003088/0.253, allocations: 139.3 kB / 423.1 MB, free: 3.977 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004915/0.2535, allocations: 196.8 kB / 423.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2535, allocations: 0 / 423.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007833/0.2543, allocations: 306 kB / 423.6 MB, free: 3.473 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.2543, allocations: 4 kB / 423.6 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.698e-05/0.2543, allocations: 4 kB / 423.6 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002563/0.2546, allocations: 44.81 kB / 423.7 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.2549, allocations: 35.98 kB / 423.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.2566, allocations: 1.515 MB / 425.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.2568, allocations: 11.97 kB / 425.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.2568, allocations: 4 kB / 425.2 MB, free: 1.707 MB / 334.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 0.0001598/0.257, allocations: 137.8 kB / 425.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-05/0.2571, allocations: 19.8 kB / 425.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.207e-05/0.2572, allocations: 25.62 kB / 425.4 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.2572, allocations: 8.031 kB / 425.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2572, allocations: 0 / 425.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.529e-05/0.2573, allocations: 88.95 kB / 425.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.2573, allocations: 3.938 kB / 425.5 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.2575, allocations: 11.98 kB / 425.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.2576, allocations: 7.984 kB / 425.5 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009185/0.2585, allocations: 316.7 kB / 425.8 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008816/0.2594, allocations: 0.4984 MB / 426.3 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002137/0.2596, allocations: 87.47 kB / 426.4 MB, free: 480 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.2598, allocations: 128.2 kB / 426.5 MB, free: 352 kB / 334.1 MB Notification: Performance of Backend: time 4.21e-07/0.2598, allocations: 0 / 426.5 MB, free: 352 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002657/0.2625, allocations: 0.8369 MB / 427.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of SimCode: time 0.0009841/0.2635, allocations: 0.7884 MB / 428.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of Templates: time 0.01342/0.2769, allocations: 8.158 MB / 436.3 MB, free: 6.492 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/FilterWithDifferentiation/FilterWithDifferentiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithDifferentiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches