Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 105.3 kB / 16.46 MB, free: 6.445 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.001992/0.001992, allocations: 189.4 kB / 17.39 MB, free: 5.668 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.761/1.761, allocations: 207.6 MB / 225.8 MB, free: 11.54 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3686/0.3686, allocations: 44.24 MB / 319.9 MB, free: 12.86 MB / 270.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.002261/0.002261, allocations: 77.28 kB / 453.5 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1502, allocations: 61.01 MB / 0.5025 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.0047/0.1549, allocations: 2.654 MB / 0.5051 GB, free: 9.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008264/0.1632, allocations: 4.432 MB / 0.5094 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003994/0.1636, allocations: 23.75 kB / 0.5094 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008849/0.1645, allocations: 358.2 kB / 0.5098 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002895/0.1648, allocations: 95.16 kB / 0.5099 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006212/0.171, allocations: 2.445 MB / 0.5122 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001779/0.1728, allocations: 1.193 MB / 0.5134 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.173, allocations: 49.77 kB / 0.5135 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005529/0.1735, allocations: 438.7 kB / 0.5139 GB, free: 308 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005925/0.1741, allocations: 410.2 kB / 0.5143 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.1742, allocations: 56 kB / 0.5143 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002879/0.1771, allocations: 1.83 MB / 0.5161 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003668/0.1775, allocations: 311 kB / 0.5164 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004412/0.1779, allocations: 401.3 kB / 0.5168 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002878/0.1808, allocations: 2.306 MB / 0.519 GB, free: 11 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1808, allocations: 3.938 kB / 0.519 GB, free: 11 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1808, allocations: 4 kB / 0.5191 GB, free: 10.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.1808, allocations: 0 / 0.5191 GB, free: 10.99 MB / 414.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.003136/0.184, allocations: 1.498 MB / 0.5205 GB, free: 9.441 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/0.184, allocations: 15.89 kB / 0.5205 GB, free: 9.426 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001185/0.1841, allocations: 78.72 kB / 0.5206 GB, free: 9.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000217/0.1844, allocations: 116.2 kB / 0.5207 GB, free: 9.227 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.1854, allocations: 0.5828 MB / 0.5213 GB, free: 8.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.157e-05/0.1855, allocations: 41.38 kB / 0.5213 GB, free: 8.547 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.1856, allocations: 68.08 kB / 0.5214 GB, free: 8.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.1868, allocations: 0.6929 MB / 0.5221 GB, free: 7.707 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.1868, allocations: 0 / 0.5221 GB, free: 7.707 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/0.1869, allocations: 23.98 kB / 0.5221 GB, free: 7.684 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.1869, allocations: 8 kB / 0.5221 GB, free: 7.676 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007429/0.1876, allocations: 375.7 kB / 0.5225 GB, free: 7.309 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002855/0.1905, allocations: 1.348 MB / 0.5238 GB, free: 5.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.1921, allocations: 0.8324 MB / 0.5246 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004854/0.1926, allocations: 285.9 kB / 0.5249 GB, free: 4.785 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.1926, allocations: 8.438 kB / 0.5249 GB, free: 4.777 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.474e-05/0.1927, allocations: 47.12 kB / 0.5249 GB, free: 4.723 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 1.884e-06/0.1927, allocations: 0 / 0.5249 GB, free: 4.723 MB / 414.1 MB Notification: Performance of matching and sorting (n=53): time 0.001857/0.1945, allocations: 0.974 MB / 0.5259 GB, free: 3.742 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000491/0.195, allocations: 0.6647 MB / 0.5265 GB, free: 2.918 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.1962, allocations: 0.842 MB / 0.5273 GB, free: 2.051 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.997e-05/0.1963, allocations: 49.7 kB / 0.5274 GB, free: 1.996 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003312/0.1966, allocations: 369.6 kB / 0.5277 GB, free: 1.629 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/0.1968, allocations: 226.1 kB / 0.5279 GB, free: 1.406 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003532/0.1972, allocations: 254.6 kB / 0.5282 GB, free: 1.152 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002635/0.1974, allocations: 418.7 kB / 0.5286 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.1986, allocations: 0.5924 MB / 0.5292 GB, free: 144 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3052/0.5037, allocations: 0.8217 MB / 0.53 GB, free: 27.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/0.5053, allocations: 1.127 MB / 0.5311 GB, free: 27.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.5053, allocations: 1.188 kB / 0.5311 GB, free: 27.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003446/0.5087, allocations: 1.923 MB / 0.5329 GB, free: 27.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.5087, allocations: 5.5 kB / 0.533 GB, free: 27.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.961e-05/0.5088, allocations: 18.08 kB / 0.533 GB, free: 27.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/0.5102, allocations: 0.494 MB / 0.5335 GB, free: 27.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005992/0.5108, allocations: 148.9 kB / 0.5336 GB, free: 27.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/0.5217, allocations: 18.2 MB / 0.5514 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007083/0.5224, allocations: 141.3 kB / 0.5515 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.269e-05/0.5224, allocations: 25.78 kB / 0.5515 GB, free: 10.69 MB / 414.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.0004695/0.5229, allocations: 283.7 kB / 0.5518 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.523, allocations: 101.3 kB / 0.5519 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001718/0.5232, allocations: 101 kB / 0.552 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.5232, allocations: 6.312 kB / 0.552 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5232, allocations: 0 / 0.552 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.5232, allocations: 3.141 kB / 0.552 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007355/0.524, allocations: 0.6364 MB / 0.5526 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.524, allocations: 0 / 0.5526 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006942/0.5247, allocations: 111.8 kB / 0.5527 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.5247, allocations: 1.219 kB / 0.5527 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.18e-05/0.5247, allocations: 33.59 kB / 0.5528 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.5247, allocations: 6.312 kB / 0.5528 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5247, allocations: 0 / 0.5528 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.5261, allocations: 1.157 MB / 0.5539 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.5262, allocations: 169 kB / 0.5541 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.5264, allocations: 33.58 kB / 0.5541 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.5267, allocations: 31.11 kB / 0.5541 GB, free: 9.383 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.869e-05/0.5268, allocations: 31.64 kB / 0.5542 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.5268, allocations: 23.69 kB / 0.5542 GB, free: 9.371 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000671/0.5275, allocations: 0.5325 MB / 0.5547 GB, free: 9.148 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5275, allocations: 1.219 kB / 0.5547 GB, free: 9.148 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002558/0.5301, allocations: 0.7647 MB / 0.5554 GB, free: 9.113 MB / 414.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.00337/0.5334, allocations: 2.312 MB / 0.5577 GB, free: 8.078 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003863/0.5373, allocations: 2.885 MB / 0.5605 GB, free: 5.977 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.5373, allocations: 1.562 kB / 0.5605 GB, free: 5.977 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005144/0.5378, allocations: 331.6 kB / 0.5608 GB, free: 5.879 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.5389, allocations: 223.1 kB / 0.561 GB, free: 5.809 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01697/0.5559, allocations: 10.38 MB / 0.5712 GB, free: 1.402 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008787/0.5568, allocations: 1.082 MB / 0.5722 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006012/0.5574, allocations: 162.6 kB / 0.5724 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005902/0.558, allocations: 345.2 kB / 0.5727 GB, free: 396 kB / 414.1 MB Notification: Performance of SimCode: time 1.744e-06/0.558, allocations: 0 / 0.5727 GB, free: 396 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1311/0.6891, allocations: 29.72 MB / 0.6018 GB, free: 5.266 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.16/15.85, allocations: 3.938 kB / 0.6018 GB, free: 5.262 MB / 446.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/FilterTests/Basic/Basic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches