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.001611/0.001611, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002068/0.002068, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2555, allocations: 50.55 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003067/0.2586, allocations: 1.616 MB / 411.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004863/0.2635, allocations: 3.206 MB / 414.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.2637, allocations: 3.938 kB / 414.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004147/0.2642, allocations: 59.7 kB / 414.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.196e-05/0.2643, allocations: 11.86 kB / 414.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003965/0.2682, allocations: 1.42 MB / 416.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002459/0.2685, allocations: 147.6 kB / 416.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.2686, allocations: 29.11 kB / 416.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.654e-05/0.2687, allocations: 51.83 kB / 416.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.508e-05/0.2688, allocations: 59.64 kB / 416.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.2688, allocations: 8 kB / 416.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001998/0.2708, allocations: 1.382 MB / 417.9 MB, free: 9.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.271, allocations: 43.89 kB / 418 MB, free: 9.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.247e-05/0.271, allocations: 51.67 kB / 418 MB, free: 9.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.2724, allocations: 1.209 MB / 419.2 MB, free: 8.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2724, allocations: 0 / 419.2 MB, free: 8.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2724, allocations: 0 / 419.2 MB, free: 8.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.2724, allocations: 0 / 419.2 MB, free: 8.27 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.00115/0.2736, allocations: 0.5497 MB / 419.8 MB, free: 7.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.2736, allocations: 8.031 kB / 419.8 MB, free: 7.664 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.672e-05/0.2737, allocations: 16.75 kB / 419.8 MB, free: 7.648 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.274, allocations: 228 kB / 420 MB, free: 7.387 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.274, allocations: 4.375 kB / 420 MB, free: 7.383 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.874e-05/0.2741, allocations: 20.27 kB / 420 MB, free: 7.363 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.2744, allocations: 125 kB / 420.2 MB, free: 7.223 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.2744, allocations: 0 / 420.2 MB, free: 7.223 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.2744, allocations: 8 kB / 420.2 MB, free: 7.215 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.2744, allocations: 0 / 420.2 MB, free: 7.215 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.2746, allocations: 59.89 kB / 420.2 MB, free: 7.156 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006584/0.2753, allocations: 376.6 kB / 420.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/0.2757, allocations: 130.5 kB / 420.7 MB, free: 6.602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.583e-05/0.2757, allocations: 44.84 kB / 420.8 MB, free: 6.555 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.2758, allocations: 4 kB / 420.8 MB, free: 6.551 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.2758, allocations: 34.55 kB / 420.8 MB, free: 6.508 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.2758, allocations: 0 / 420.8 MB, free: 6.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.002267/0.2781, allocations: 1.226 MB / 422 MB, free: 5.152 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.2782, allocations: 132.5 kB / 422.2 MB, free: 4.992 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.2783, allocations: 174.4 kB / 422.3 MB, free: 4.812 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.2784, allocations: 29.7 kB / 422.4 MB, free: 4.777 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.91e-05/0.2785, allocations: 112.4 kB / 422.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.342e-05/0.2785, allocations: 51.2 kB / 422.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.067e-05/0.2786, allocations: 45.7 kB / 422.6 MB, free: 4.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.2787, allocations: 326.8 kB / 422.9 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.2789, allocations: 95.88 kB / 423 MB, free: 4.141 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.2791, allocations: 139.3 kB / 423.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.2794, allocations: 200.8 kB / 423.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2794, allocations: 0 / 423.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005532/0.28, allocations: 310 kB / 423.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.28, allocations: 4 kB / 423.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.28, allocations: 0 / 423.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002064/0.2803, allocations: 48.81 kB / 423.7 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.2804, allocations: 31.98 kB / 423.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.2817, allocations: 1.519 MB / 425.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.929e-05/0.2818, allocations: 11.97 kB / 425.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.2818, allocations: 4 kB / 425.2 MB, free: 1.715 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.000114/0.2819, allocations: 137.9 kB / 425.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.282, allocations: 19.81 kB / 425.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.861e-05/0.282, allocations: 21.52 kB / 425.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.282, allocations: 4 kB / 425.4 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2821, allocations: 0 / 425.4 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.2821, allocations: 88.95 kB / 425.5 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.2821, allocations: 4 kB / 425.5 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.2822, allocations: 11.92 kB / 425.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.2823, allocations: 11.98 kB / 425.5 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005874/0.2829, allocations: 320.7 kB / 425.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005332/0.2834, allocations: 0.4905 MB / 426.3 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001299/0.2836, allocations: 83.98 kB / 426.4 MB, free: 496 kB / 334.1 MB Notification: Performance of sorting global known variables: time 8.388e-05/0.2837, allocations: 128.2 kB / 426.5 MB, free: 368 kB / 334.1 MB Notification: Performance of Backend: time 3.41e-07/0.2837, allocations: 0 / 426.5 MB, free: 368 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001994/0.2857, allocations: 0.8377 MB / 427.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of SimCode: time 0.0007265/0.2864, allocations: 0.7845 MB / 428.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of Templates: time 0.01394/0.3004, allocations: 8.168 MB / 436.3 MB, free: 6.504 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