Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001878/0.001879, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002184/0.002184, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.213/0.213, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001502, allocations: 75.89 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3524, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004643/0.3571, allocations: 2.669 MB / 0.5331 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008613/0.3658, allocations: 4.409 MB / 0.5375 GB, free: 8.043 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006433/0.3664, allocations: 23.81 kB / 0.5375 GB, free: 8.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.3676, allocations: 353.5 kB / 0.5378 GB, free: 7.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005638/0.3682, allocations: 88.78 kB / 0.5379 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007249/0.3754, allocations: 2.646 MB / 0.5405 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001834/0.3773, allocations: 1.18 MB / 0.5416 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002691/0.3776, allocations: 81.42 kB / 0.5417 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008196/0.3784, allocations: 438.7 kB / 0.5421 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008305/0.3792, allocations: 405.2 kB / 0.5425 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00028/0.3795, allocations: 54.56 kB / 0.5426 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004577/0.3841, allocations: 1.831 MB / 0.5444 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004934/0.3846, allocations: 303.1 kB / 0.5446 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006235/0.3853, allocations: 405.3 kB / 0.545 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003481/0.3888, allocations: 2.299 MB / 0.5473 GB, free: 0.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3888, allocations: 0 / 0.5473 GB, free: 0.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3888, allocations: 0 / 0.5473 GB, free: 0.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.227e-05/0.3888, allocations: 4 kB / 0.5473 GB, free: 0.6211 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.002781/0.3916, allocations: 1.468 MB / 0.5487 GB, free: 15.1 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.3917, allocations: 12.03 kB / 0.5487 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.809e-05/0.3918, allocations: 78.72 kB / 0.5488 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.3919, allocations: 103.6 kB / 0.5489 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008785/0.3928, allocations: 0.5822 MB / 0.5495 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.3929, allocations: 37.38 kB / 0.5495 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.393, allocations: 68.03 kB / 0.5496 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009399/0.394, allocations: 0.7007 MB / 0.5503 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.394, allocations: 0 / 0.5503 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.729e-05/0.394, allocations: 20 kB / 0.5503 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.3941, allocations: 8 kB / 0.5503 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006002/0.3947, allocations: 375.7 kB / 0.5506 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002517/0.3972, allocations: 1.347 MB / 0.552 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.3986, allocations: 0.8363 MB / 0.5528 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004119/0.399, allocations: 290 kB / 0.553 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.3991, allocations: 4.438 kB / 0.5531 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.3991, allocations: 62.92 kB / 0.5531 GB, free: 10.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 2.435e-06/0.3991, allocations: 0 / 0.5531 GB, free: 10.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=53): time 0.001643/0.4008, allocations: 0.9576 MB / 0.554 GB, free: 9.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000315/0.4011, allocations: 0.6726 MB / 0.5547 GB, free: 8.578 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.4021, allocations: 0.8457 MB / 0.5555 GB, free: 7.707 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.868e-05/0.4022, allocations: 45.7 kB / 0.5556 GB, free: 7.656 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.4025, allocations: 365.3 kB / 0.5559 GB, free: 7.293 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.4027, allocations: 216.8 kB / 0.5561 GB, free: 7.078 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003201/0.403, allocations: 258.6 kB / 0.5564 GB, free: 6.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.4032, allocations: 414.7 kB / 0.5568 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008468/0.4041, allocations: 0.5885 MB / 0.5573 GB, free: 5.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.4051, allocations: 0.834 MB / 0.5582 GB, free: 4.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.4069, allocations: 1.12 MB / 0.5593 GB, free: 3.789 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.4069, allocations: 0 / 0.5593 GB, free: 3.789 MB / 414.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002967/0.4099, allocations: 1.925 MB / 0.5611 GB, free: 1.816 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.4099, allocations: 4 kB / 0.5611 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.922e-05/0.41, allocations: 15.98 kB / 0.5612 GB, free: 1.797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/0.4114, allocations: 0.4978 MB / 0.5616 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006228/0.412, allocations: 139.8 kB / 0.5618 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01509/0.4271, allocations: 18.2 MB / 0.5795 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008578/0.4281, allocations: 134.4 kB / 0.5797 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001977/0.4283, allocations: 32.16 kB / 0.5797 GB, free: 13.07 MB / 446.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 (93): * Single equations (assignments): 65 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0006519/0.4289, allocations: 281.6 kB / 0.58 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002774/0.4292, allocations: 94.77 kB / 0.5801 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/0.4295, allocations: 101.4 kB / 0.5802 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.4295, allocations: 4 kB / 0.5802 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.4295, allocations: 0 / 0.5802 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.4295, allocations: 3.938 kB / 0.5802 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.4307, allocations: 0.6341 MB / 0.5808 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.4307, allocations: 3.938 kB / 0.5808 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008167/0.4315, allocations: 103.9 kB / 0.5809 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/0.4316, allocations: 0 / 0.5809 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.024e-05/0.4317, allocations: 35.97 kB / 0.5809 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-05/0.4317, allocations: 8 kB / 0.5809 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4317, allocations: 0 / 0.5809 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.4336, allocations: 1.151 MB / 0.5821 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002645/0.4339, allocations: 167.7 kB / 0.5822 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.4341, allocations: 31.98 kB / 0.5822 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003816/0.4344, allocations: 31.97 kB / 0.5823 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.4346, allocations: 36.39 kB / 0.5823 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/0.4346, allocations: 19.92 kB / 0.5823 GB, free: 10.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007241/0.4353, allocations: 0.5347 MB / 0.5828 GB, free: 9.738 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.4353, allocations: 4 kB / 0.5829 GB, free: 9.734 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00274/0.4381, allocations: 0.7615 MB / 0.5836 GB, free: 8.973 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 36 (CriticalDamping_a.x[1],CriticalDamping_a.x[2],CriticalDamping_a.x[3],CriticalDamping_b.x[1],CriticalDamping_b.x[2],CriticalDamping_b.x[3],CriticalDamping_b.x[4],CriticalDamping_b.x[5],CriticalDamping_b.x[6],Bessel_a.x[1],Bessel_a.x[2],Bessel_a.x[3],Bessel_b.x[1],Bessel_b.x[2],Bessel_b.x[3],Bessel_b.x[4],Bessel_b.x[5],Bessel_b.x[6],Butterworth_a.x[1],Butterworth_a.x[2],Butterworth_a.x[3],Butterworth_b.x[1],Butterworth_b.x[2],Butterworth_b.x[3],Butterworth_b.x[4],Butterworth_b.x[5],Butterworth_b.x[6],ChebyshevI_a.x[1],ChebyshevI_a.x[2],ChebyshevI_a.x[3],ChebyshevI_b.x[1],ChebyshevI_b.x[2],ChebyshevI_b.x[3],ChebyshevI_b.x[4],ChebyshevI_b.x[5],ChebyshevI_b.x[6]) * 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 (53): * Single equations (assignments): 53 * 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.003807/0.4419, allocations: 2.304 MB / 0.5858 GB, free: 6.637 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004321/0.4463, allocations: 2.985 MB / 0.5888 GB, free: 3.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.4463, allocations: 11.94 kB / 0.5888 GB, free: 3.398 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000559/0.4469, allocations: 326.3 kB / 0.5891 GB, free: 3.082 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.448, allocations: 226.3 kB / 0.5893 GB, free: 2.875 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01536/0.4634, allocations: 10.33 MB / 0.5994 GB, free: 8.336 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007686/0.4642, allocations: 1.083 MB / 0.6004 GB, free: 7.223 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000517/0.4648, allocations: 161.2 kB / 0.6006 GB, free: 7.062 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004404/0.4652, allocations: 339.3 kB / 0.6009 GB, free: 6.73 MB / 462.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4652, allocations: 0 / 0.6009 GB, free: 6.73 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.069/0.5342, allocations: 30.07 MB / 0.6303 GB, free: 8.785 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.28, allocations: 3.984 kB / 0.6303 GB, free: 8.781 MB / 494.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/FilterTests/Basic/Basic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches