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.002338/0.002338, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.113/2.113, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00115/0.001149, allocations: 98.62 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2985/0.2985, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.683e-05/3.693e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 58.86 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5066/0.6214, allocations: 99.9 MB / 0.5705 GB, free: 3.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.6218, allocations: 73.25 kB / 0.5705 GB, free: 3.805 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2421/0.8639, allocations: 48.46 MB / 0.6179 GB, free: 9.516 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.8639, allocations: 0 / 0.6179 GB, free: 9.516 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000184/0.8641, allocations: 31.94 kB / 0.6179 GB, free: 9.484 MB / 426.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.004884/0.869, allocations: 1.228 MB / 0.6191 GB, free: 8.273 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.469e-05/0.8691, allocations: 11.97 kB / 0.6191 GB, free: 8.262 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002724/0.8694, allocations: 70.16 kB / 0.6192 GB, free: 8.203 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005434/0.87, allocations: 106.8 kB / 0.6193 GB, free: 8.098 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002811/0.8728, allocations: 0.7671 MB / 0.62 GB, free: 7.375 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.065e-05/0.8729, allocations: 37.91 kB / 0.62 GB, free: 7.355 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002953/0.8732, allocations: 73.12 kB / 0.6201 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.8749, allocations: 0.7364 MB / 0.6208 GB, free: 6.602 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.875, allocations: 4 kB / 0.6208 GB, free: 6.598 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-05/0.8751, allocations: 25.88 kB / 0.6209 GB, free: 6.586 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.8751, allocations: 8 kB / 0.6209 GB, free: 6.578 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.8762, allocations: 361.1 kB / 0.6212 GB, free: 6.324 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005299/0.8815, allocations: 1.378 MB / 0.6226 GB, free: 5.164 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002705/0.8843, allocations: 0.8238 MB / 0.6234 GB, free: 4.547 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007919/0.8851, allocations: 279.5 kB / 0.6236 GB, free: 4.359 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.942e-05/0.8852, allocations: 4.438 kB / 0.6236 GB, free: 4.355 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.832e-05/0.8853, allocations: 46.25 kB / 0.6237 GB, free: 4.309 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 3.847e-06/0.8853, allocations: 0 / 0.6237 GB, free: 4.309 MB / 426.7 MB Notification: Performance of matching and sorting (n=53): time 0.002073/0.8874, allocations: 0.6972 MB / 0.6244 GB, free: 3.758 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003897/0.8878, allocations: 0.6685 MB / 0.625 GB, free: 2.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.8894, allocations: 0.7294 MB / 0.6257 GB, free: 2.332 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002976/0.8897, allocations: 47.95 kB / 0.6258 GB, free: 2.293 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/0.8901, allocations: 378.1 kB / 0.6261 GB, free: 2.047 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003197/0.8904, allocations: 215.8 kB / 0.6263 GB, free: 1.867 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.637e-05/0.8905, allocations: 14.56 kB / 0.6264 GB, free: 1.863 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.8908, allocations: 371.3 kB / 0.6267 GB, free: 1.516 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/0.8922, allocations: 0.56 MB / 0.6273 GB, free: 1.129 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001863/0.8941, allocations: 0.7819 MB / 0.628 GB, free: 492 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/0.8959, allocations: 0.6658 MB / 0.6287 GB, free: 4 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/0.8959, allocations: 4 kB / 0.6287 GB, free: 0 / 426.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005514/0.9015, allocations: 1.797 MB / 0.6304 GB, free: 14.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.9015, allocations: 11.44 kB / 0.6304 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000135/0.9017, allocations: 23.97 kB / 0.6305 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002592/0.9043, allocations: 0.4978 MB / 0.6309 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.9056, allocations: 135.9 kB / 0.6311 GB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02129/0.9269, allocations: 16.9 MB / 0.6476 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.9281, allocations: 134.4 kB / 0.6477 GB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/0.9283, allocations: 39.95 kB / 0.6477 GB, free: 10.88 MB / 458.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 () * 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.0003511/0.9286, allocations: 167.5 kB / 0.6479 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/0.9289, allocations: 86.86 kB / 0.648 GB, free: 10.62 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000329/0.9292, allocations: 101.2 kB / 0.6481 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.9293, allocations: 4 kB / 0.6481 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.9293, allocations: 4 kB / 0.6481 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.9293, allocations: 3.984 kB / 0.6481 GB, free: 10.51 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.9307, allocations: 0.6417 MB / 0.6487 GB, free: 9.824 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.9308, allocations: 0 / 0.6487 GB, free: 9.824 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/0.9325, allocations: 103.9 kB / 0.6488 GB, free: 9.723 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.629e-05/0.9326, allocations: 4 kB / 0.6488 GB, free: 9.719 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001766/0.9327, allocations: 31.97 kB / 0.6489 GB, free: 9.688 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.9328, allocations: 0 / 0.6489 GB, free: 9.688 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.9328, allocations: 4 kB / 0.6489 GB, free: 9.684 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002815/0.9356, allocations: 1.137 MB / 0.65 GB, free: 8.527 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002812/0.9359, allocations: 155.9 kB / 0.6501 GB, free: 8.355 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/0.9362, allocations: 35.97 kB / 0.6502 GB, free: 8.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007577/0.937, allocations: 31.97 kB / 0.6502 GB, free: 8.289 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.9371, allocations: 32.39 kB / 0.6502 GB, free: 8.258 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.9372, allocations: 12 kB / 0.6502 GB, free: 8.246 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001194/0.9384, allocations: 0.5232 MB / 0.6507 GB, free: 7.707 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.9384, allocations: 0 / 0.6507 GB, free: 7.707 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00369/0.9421, allocations: 0.8043 MB / 0.6515 GB, free: 6.902 MB / 458.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 () * 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.00636/0.9486, allocations: 2.321 MB / 0.6538 GB, free: 4.555 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007267/0.9559, allocations: 2.961 MB / 0.6567 GB, free: 1.355 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/0.9559, allocations: 4 kB / 0.6567 GB, free: 1.352 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.957, allocations: 318.4 kB / 0.657 GB, free: 1.039 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.9585, allocations: 183.2 kB / 0.6572 GB, free: 0.8594 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007136/0.9657, allocations: 2.518 MB / 0.6596 GB, free: 14.29 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/0.9668, allocations: 1.102 MB / 0.6607 GB, free: 13.16 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008644/0.9677, allocations: 335.3 kB / 0.661 GB, free: 12.83 MB / 474.7 MB Notification: Performance of SimCode: time 1.212e-06/0.9677, allocations: 0 / 0.661 GB, free: 12.83 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.132/5.1, allocations: 35.16 MB / 0.6954 GB, free: 9.625 MB / 0.4948 GB (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