Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Filter.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.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 106.2 kB / 18.4 MB, free: 4.641 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.001066/0.001066, allocations: 185.5 kB / 19.34 MB, free: 3.715 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.273/1.273, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001172/0.001172, allocations: 52.31 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07104/0.07222, allocations: 46.63 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.00282/0.07507, allocations: 1.99 MB / 377.8 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1503/0.2254, allocations: 3.702 MB / 381.5 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.2256, allocations: 9.844 kB / 381.5 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004573/0.2261, allocations: 181.5 kB / 381.7 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.2262, allocations: 47.44 kB / 381.8 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004117/0.2303, allocations: 1.944 MB / 383.7 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005105/0.2309, allocations: 0.4982 MB / 384.2 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.231, allocations: 48.89 kB / 384.2 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.2312, allocations: 179.8 kB / 384.4 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.2314, allocations: 169.9 kB / 384.6 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.275e-05/0.2315, allocations: 25.16 kB / 384.6 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002091/0.2335, allocations: 1.779 MB / 386.4 MB, free: 8.828 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.2337, allocations: 121 kB / 386.5 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.2338, allocations: 162.9 kB / 386.7 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.2356, allocations: 1.779 MB / 388.4 MB, free: 8.391 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2356, allocations: 5.281 kB / 388.5 MB, free: 8.387 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2356, allocations: 0.75 kB / 388.5 MB, free: 8.387 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.2356, allocations: 4 kB / 388.5 MB, free: 8.383 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001335/0.237, allocations: 0.9099 MB / 389.4 MB, free: 7.762 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.237, allocations: 9.125 kB / 389.4 MB, free: 7.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.593e-05/0.2371, allocations: 54.73 kB / 389.4 MB, free: 7.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.2375, allocations: 355.2 kB / 389.8 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.2375, allocations: 18.88 kB / 389.8 MB, free: 7.445 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.341e-05/0.2376, allocations: 30.09 kB / 389.8 MB, free: 7.434 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004063/0.238, allocations: 308.3 kB / 390.1 MB, free: 7.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.238, allocations: 1.828 kB / 390.1 MB, free: 7.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.238, allocations: 11.06 kB / 390.1 MB, free: 7.223 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2381, allocations: 7.219 kB / 390.1 MB, free: 7.219 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/0.2383, allocations: 145.4 kB / 390.3 MB, free: 7.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.2394, allocations: 0.6727 MB / 391 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006091/0.24, allocations: 318 kB / 391.3 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.2402, allocations: 111.9 kB / 391.4 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.2402, allocations: 2.688 kB / 391.4 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.2402, allocations: 38.59 kB / 391.4 MB, free: 6.574 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.593e-06/0.2403, allocations: 0 / 391.4 MB, free: 6.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006779/0.2409, allocations: 381.8 kB / 391.8 MB, free: 6.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.241, allocations: 372.3 kB / 392.2 MB, free: 5.984 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.2414, allocations: 409.4 kB / 392.6 MB, free: 5.785 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.2414, allocations: 37.98 kB / 392.6 MB, free: 5.746 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.2415, allocations: 192.2 kB / 392.8 MB, free: 5.586 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.011e-05/0.2416, allocations: 96.52 kB / 392.9 MB, free: 5.512 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.2417, allocations: 99.8 kB / 393 MB, free: 5.465 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.977e-05/0.2418, allocations: 357.1 kB / 393.3 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.2421, allocations: 206.1 kB / 393.5 MB, free: 5.074 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/0.2425, allocations: 322.7 kB / 393.8 MB, free: 4.891 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005528/0.2431, allocations: 389.2 kB / 394.2 MB, free: 4.754 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2431, allocations: 5.094 kB / 394.2 MB, free: 4.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001054/0.2441, allocations: 0.6509 MB / 394.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2442, allocations: 9.281 kB / 394.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/0.2442, allocations: 8.734 kB / 394.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004234/0.2446, allocations: 124.3 kB / 395 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.2449, allocations: 69.98 kB / 395.1 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002494/0.2474, allocations: 4.559 MB / 399.6 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.2476, allocations: 54.77 kB / 399.7 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.2477, allocations: 8.938 kB / 399.7 MB, free: 72 kB / 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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001994/0.2479, allocations: 180.6 kB / 399.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.914e-05/0.248, allocations: 35.3 kB / 399.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.843e-05/0.248, allocations: 50.03 kB / 400 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2481, allocations: 0 / 400 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2481, allocations: 2 kB / 400 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.215e-05/0.2481, allocations: 119.7 kB / 400.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.17e-05/0.2482, allocations: 18.09 kB / 400.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.2484, allocations: 14.59 kB / 400.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.2485, allocations: 15.27 kB / 400.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00114/0.2496, allocations: 495 kB / 400.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008196/0.2504, allocations: 0.6588 MB / 401.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002284/0.2507, allocations: 148.2 kB / 401.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002808/0.251, allocations: 274.8 kB / 401.7 MB, free: 14.99 MB / 334.1 MB Notification: Performance of Backend: time 4.71e-07/0.251, allocations: 0 / 401.7 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003441/0.2544, allocations: 1.501 MB / 403.2 MB, free: 14.14 MB / 334.1 MB Notification: Performance of SimCode: time 0.001468/0.2559, allocations: 1.344 MB / 404.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of Templates: time 0.02138/0.2773, allocations: 13.22 MB / 417.7 MB, free: 4.008 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches