Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001627/0.001626, allocations: 182.6 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.068/2.068, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001216/0.001215, allocations: 100.3 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.6106/0.6106, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004769, allocations: 8 kB / 431.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1801, allocations: 58.84 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004877/0.185, allocations: 2.226 MB / 492.5 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.1966, allocations: 4.256 MB / 496.8 MB, free: 4.402 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005716/0.1972, allocations: 19.75 kB / 496.8 MB, free: 4.383 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.1987, allocations: 422.7 kB / 497.2 MB, free: 3.969 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005157/0.1993, allocations: 91.59 kB / 497.3 MB, free: 3.879 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008364/0.2077, allocations: 2.111 MB / 499.4 MB, free: 1.773 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002032/0.2097, allocations: 0.7723 MB / 0.4885 GB, free: 1 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.21, allocations: 73.75 kB / 0.4885 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008825/0.2109, allocations: 426.7 kB / 0.4889 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008317/0.2118, allocations: 354.5 kB / 0.4893 GB, free: 160 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.212, allocations: 28 kB / 0.4893 GB, free: 132 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3782/0.5902, allocations: 1.346 MB / 0.4906 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007385/0.591, allocations: 277.5 kB / 0.4909 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003259/0.5913, allocations: 146.3 kB / 0.491 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005273/0.5966, allocations: 1.872 MB / 0.4929 GB, free: 36.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5967, allocations: 0 / 0.4929 GB, free: 36.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.5967, allocations: 1.031 kB / 0.4929 GB, free: 36.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.533e-05/0.5968, allocations: 0 / 0.4929 GB, free: 36.02 MB / 378.7 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.005704/0.6025, allocations: 1.306 MB / 0.4941 GB, free: 35.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/0.6026, allocations: 13.45 kB / 0.4941 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003356/0.6029, allocations: 81.31 kB / 0.4942 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003175/0.6032, allocations: 112.3 kB / 0.4943 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.6046, allocations: 0.5483 MB / 0.4949 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.273e-05/0.6047, allocations: 40.47 kB / 0.4949 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002424/0.605, allocations: 71 kB / 0.495 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.6066, allocations: 0.6882 MB / 0.4956 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.6066, allocations: 0 / 0.4956 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-05/0.6067, allocations: 19.91 kB / 0.4957 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.6068, allocations: 8.25 kB / 0.4957 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.6078, allocations: 372.1 kB / 0.496 GB, free: 34.67 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004912/0.6128, allocations: 1.36 MB / 0.4973 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/0.6154, allocations: 0.854 MB / 0.4982 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.139e-05/0.6155, allocations: 9.422 kB / 0.4982 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.6156, allocations: 43.66 kB / 0.4982 GB, free: 34.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 4.398e-06/0.6156, allocations: 0 / 0.4982 GB, free: 34.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.003097/0.6187, allocations: 0.9701 MB / 0.4992 GB, free: 34.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000234/0.619, allocations: 0.6714 MB / 0.4998 GB, free: 33.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.6207, allocations: 0.8408 MB / 0.5007 GB, free: 33.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003787/0.6212, allocations: 46.89 kB / 0.5007 GB, free: 33.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003449/0.6215, allocations: 373.8 kB / 0.5011 GB, free: 32.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/0.6219, allocations: 218.4 kB / 0.5013 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-05/0.6219, allocations: 17.62 kB / 0.5013 GB, free: 32.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6221, allocations: 368 kB / 0.5016 GB, free: 32.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/0.6236, allocations: 0.5927 MB / 0.5022 GB, free: 32.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/0.6255, allocations: 0.8271 MB / 0.503 GB, free: 32.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/0.6275, allocations: 0.6891 MB / 0.5037 GB, free: 32.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.6275, allocations: 0 / 0.5037 GB, free: 32.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005321/0.6329, allocations: 1.871 MB / 0.5055 GB, free: 32.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.6329, allocations: 6.438 kB / 0.5055 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/0.6331, allocations: 22.53 kB / 0.5055 GB, free: 32.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002489/0.6356, allocations: 0.4951 MB / 0.506 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.6369, allocations: 137.8 kB / 0.5062 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0169/0.6538, allocations: 17.04 MB / 0.5228 GB, free: 32.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.655, allocations: 129.3 kB / 0.5229 GB, free: 32.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.6551, allocations: 26.97 kB / 0.523 GB, free: 32.54 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007888/0.6559, allocations: 286.2 kB / 0.5232 GB, free: 32.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.6562, allocations: 93.98 kB / 0.5233 GB, free: 32.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.6564, allocations: 103.1 kB / 0.5234 GB, free: 32.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.6565, allocations: 10.34 kB / 0.5234 GB, free: 32.24 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.118e-06/0.6565, allocations: 3.094 kB / 0.5234 GB, free: 32.24 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.6565, allocations: 3.328 kB / 0.5234 GB, free: 32.24 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.6577, allocations: 0.6325 MB / 0.5241 GB, free: 31.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-06/0.6577, allocations: 7.281 kB / 0.5241 GB, free: 31.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/0.6594, allocations: 105.2 kB / 0.5242 GB, free: 31.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.488e-05/0.6595, allocations: 3.953 kB / 0.5242 GB, free: 31.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/0.6596, allocations: 37.95 kB / 0.5242 GB, free: 31.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/0.6597, allocations: 3.562 kB / 0.5242 GB, free: 31.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.6597, allocations: 3.094 kB / 0.5242 GB, free: 31.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002638/0.6623, allocations: 1.157 MB / 0.5253 GB, free: 31.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/0.6627, allocations: 159.1 kB / 0.5255 GB, free: 31.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/0.6629, allocations: 39.34 kB / 0.5255 GB, free: 31.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006995/0.6636, allocations: 30.53 kB / 0.5256 GB, free: 31.22 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.6638, allocations: 36.86 kB / 0.5256 GB, free: 31.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.815e-05/0.6639, allocations: 13.08 kB / 0.5256 GB, free: 31.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001032/0.6649, allocations: 0.5317 MB / 0.5261 GB, free: 30.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6649, allocations: 0 / 0.5261 GB, free: 30.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004876/0.6698, allocations: 0.7544 MB / 0.5269 GB, free: 30.93 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006327/0.6762, allocations: 2.307 MB / 0.5291 GB, free: 29.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006531/0.6828, allocations: 2.999 MB / 0.532 GB, free: 27.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/0.6828, allocations: 3.125 kB / 0.532 GB, free: 27.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009513/0.6838, allocations: 334.2 kB / 0.5324 GB, free: 27.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.6853, allocations: 186.3 kB / 0.5325 GB, free: 27.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008206/0.6935, allocations: 3.353 MB / 0.5358 GB, free: 25.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009548/0.6945, allocations: 1.102 MB / 0.5369 GB, free: 25.21 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008166/0.6954, allocations: 342.1 kB / 0.5372 GB, free: 24.95 MB / 394.7 MB Notification: Performance of SimCode: time 2.675e-06/0.6954, allocations: 0 / 0.5372 GB, free: 24.95 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.272/4.967, allocations: 34.92 MB / 0.5713 GB, free: 3.953 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.FilterTests.Basic_res.mat does not exist to compare? outputFormat=mat