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.001365/0.001365, allocations: 118.8 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00188/0.001881, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, 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.2421/0.2421, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 76.11 kB / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3778, allocations: 62.44 MB / 0.5306 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004318/0.3822, allocations: 2.647 MB / 0.5331 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007811/0.39, allocations: 4.424 MB / 0.5375 GB, free: 7.895 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006208/0.3907, allocations: 24.03 kB / 0.5375 GB, free: 7.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008735/0.3916, allocations: 352.9 kB / 0.5378 GB, free: 7.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004079/0.392, allocations: 85.28 kB / 0.5379 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006786/0.3988, allocations: 2.64 MB / 0.5405 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001663/0.4005, allocations: 1.181 MB / 0.5416 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002277/0.4007, allocations: 75.91 kB / 0.5417 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008017/0.4015, allocations: 442.9 kB / 0.5421 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007648/0.4023, allocations: 404.6 kB / 0.5425 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.4025, allocations: 56.03 kB / 0.5426 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003979/0.4065, allocations: 1.831 MB / 0.5444 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003781/0.4069, allocations: 307.1 kB / 0.5446 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004793/0.4074, allocations: 397.4 kB / 0.545 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003045/0.4104, allocations: 2.303 MB / 0.5473 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4104, allocations: 0 / 0.5473 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.4104, allocations: 0 / 0.5473 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.4105, allocations: 0 / 0.5473 GB, free: 0.5078 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.002637/0.4131, allocations: 1.464 MB / 0.5487 GB, free: 14.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.4132, allocations: 19.95 kB / 0.5487 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.789e-05/0.4132, allocations: 74.72 kB / 0.5488 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002008/0.4135, allocations: 115.6 kB / 0.5489 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008194/0.4143, allocations: 0.5821 MB / 0.5495 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.4143, allocations: 37.38 kB / 0.5495 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.4145, allocations: 68.03 kB / 0.5496 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009383/0.4154, allocations: 0.6929 MB / 0.5503 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.4154, allocations: 0 / 0.5503 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.926e-05/0.4155, allocations: 20 kB / 0.5503 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.4155, allocations: 11.94 kB / 0.5503 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005756/0.4161, allocations: 367.7 kB / 0.5506 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.4184, allocations: 1.351 MB / 0.552 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.4197, allocations: 0.8401 MB / 0.5528 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003921/0.4202, allocations: 290 kB / 0.553 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.4202, allocations: 4.438 kB / 0.5531 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.4202, allocations: 46.98 kB / 0.5531 GB, free: 10.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 1.684e-06/0.4202, allocations: 0 / 0.5531 GB, free: 10.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=53): time 0.001524/0.4218, allocations: 0.9732 MB / 0.554 GB, free: 9.289 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003013/0.4221, allocations: 0.6686 MB / 0.5547 GB, free: 8.461 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008794/0.423, allocations: 0.8458 MB / 0.5555 GB, free: 7.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.515e-05/0.423, allocations: 45.7 kB / 0.5556 GB, free: 7.539 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.4233, allocations: 361.3 kB / 0.5559 GB, free: 7.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.4235, allocations: 220.8 kB / 0.5561 GB, free: 6.961 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000301/0.4238, allocations: 254.6 kB / 0.5564 GB, free: 6.707 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.424, allocations: 414.7 kB / 0.5568 GB, free: 6.293 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007684/0.4248, allocations: 0.5963 MB / 0.5573 GB, free: 5.699 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009854/0.4258, allocations: 0.8223 MB / 0.5581 GB, free: 4.801 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.4272, allocations: 1.132 MB / 0.5593 GB, free: 3.668 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.4272, allocations: 0 / 0.5593 GB, free: 3.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002905/0.4301, allocations: 1.921 MB / 0.5611 GB, free: 1.699 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.4302, allocations: 8 kB / 0.5611 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.516e-05/0.4302, allocations: 15.98 kB / 0.5612 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.4316, allocations: 0.4939 MB / 0.5616 GB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005684/0.4322, allocations: 139.9 kB / 0.5618 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01393/0.4461, allocations: 18.2 MB / 0.5795 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006703/0.4468, allocations: 130.5 kB / 0.5797 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.287e-05/0.4469, allocations: 31.98 kB / 0.5797 GB, free: 12.96 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.0004625/0.4474, allocations: 281.7 kB / 0.58 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.4475, allocations: 90.78 kB / 0.5801 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.4477, allocations: 101.4 kB / 0.5802 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.4477, allocations: 16 kB / 0.5802 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.4477, allocations: 0 / 0.5802 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.4477, allocations: 7.922 kB / 0.5802 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007188/0.4485, allocations: 0.6302 MB / 0.5808 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4485, allocations: 0 / 0.5808 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006902/0.4492, allocations: 107.8 kB / 0.5809 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.4492, allocations: 4 kB / 0.5809 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.283e-05/0.4493, allocations: 31.97 kB / 0.5809 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.4493, allocations: 4 kB / 0.5809 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4493, allocations: 0 / 0.5809 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.4508, allocations: 1.151 MB / 0.5821 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.451, allocations: 163.8 kB / 0.5822 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.4511, allocations: 31.98 kB / 0.5822 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.4514, allocations: 31.97 kB / 0.5823 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.729e-05/0.4515, allocations: 28.39 kB / 0.5823 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.4516, allocations: 27.86 kB / 0.5823 GB, free: 10.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006176/0.4522, allocations: 0.5386 MB / 0.5829 GB, free: 9.625 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4522, allocations: 0 / 0.5829 GB, free: 9.625 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002204/0.4544, allocations: 0.7654 MB / 0.5836 GB, free: 8.859 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.003378/0.4578, allocations: 2.298 MB / 0.5858 GB, free: 6.531 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003985/0.4618, allocations: 2.993 MB / 0.5888 GB, free: 3.297 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4618, allocations: 0 / 0.5888 GB, free: 3.297 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004863/0.4623, allocations: 334.2 kB / 0.5891 GB, free: 2.973 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009749/0.4633, allocations: 238.6 kB / 0.5893 GB, free: 2.754 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/0.477, allocations: 10.33 MB / 0.5994 GB, free: 8.223 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007289/0.4778, allocations: 1.079 MB / 0.6005 GB, free: 7.113 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004648/0.4782, allocations: 165.2 kB / 0.6006 GB, free: 6.949 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004208/0.4787, allocations: 339.3 kB / 0.6009 GB, free: 6.617 MB / 462.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4787, allocations: 0 / 0.6009 GB, free: 6.617 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1103/0.589, allocations: 30.06 MB / 0.6303 GB, free: 8.68 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.13, allocations: 14.59 kB / 0.6303 GB, free: 8.668 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