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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001553/0.001553, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001709/0.001709, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 230.5 MB / 257.4 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2294/0.2294, allocations: 46.94 MB / 360.8 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 75.88 kB / 0.4962 GB, free: 7.496 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2999, allocations: 66.09 MB / 0.5607 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.003772/0.3037, allocations: 2.445 MB / 0.5631 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007713/0.3114, allocations: 4.187 MB / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003656/0.3118, allocations: 35.56 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008085/0.3126, allocations: 374.3 kB / 0.5676 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002414/0.3128, allocations: 95.16 kB / 0.5677 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006044/0.3189, allocations: 2.558 MB / 0.5702 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001648/0.3205, allocations: 1.201 MB / 0.5713 GB, free: 9.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.3207, allocations: 53.89 kB / 0.5714 GB, free: 9.008 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005121/0.3212, allocations: 450.6 kB / 0.5718 GB, free: 8.566 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005318/0.3218, allocations: 402.2 kB / 0.5722 GB, free: 8.172 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.3219, allocations: 56 kB / 0.5723 GB, free: 8.117 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00293/0.3248, allocations: 1.9 MB / 0.5741 GB, free: 6.215 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003666/0.3252, allocations: 318.9 kB / 0.5744 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003686/0.3255, allocations: 318 kB / 0.5747 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002615/0.3282, allocations: 2.333 MB / 0.577 GB, free: 3.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3282, allocations: 0 / 0.577 GB, free: 3.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3282, allocations: 0 / 0.577 GB, free: 3.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.3282, allocations: 3.938 kB / 0.577 GB, free: 3.246 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.002653/0.3308, allocations: 1.438 MB / 0.5784 GB, free: 1.773 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3309, allocations: 8.031 kB / 0.5784 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.824e-05/0.331, allocations: 78.72 kB / 0.5785 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.3312, allocations: 112.2 kB / 0.5786 GB, free: 1.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000991/0.3322, allocations: 0.5185 MB / 0.5791 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.951e-05/0.3322, allocations: 37.38 kB / 0.5791 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.3323, allocations: 84.02 kB / 0.5792 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.3337, allocations: 1.299 MB / 0.5805 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3337, allocations: 0 / 0.5805 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/0.3338, allocations: 20 kB / 0.5805 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.3338, allocations: 8 kB / 0.5805 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006322/0.3344, allocations: 371.7 kB / 0.5809 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002558/0.337, allocations: 1.199 MB / 0.582 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.3384, allocations: 0.8371 MB / 0.5829 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004347/0.3389, allocations: 282 kB / 0.5831 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-05/0.3389, allocations: 12.42 kB / 0.5831 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.339, allocations: 47.12 kB / 0.5832 GB, free: 12.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 2.014e-06/0.339, allocations: 0 / 0.5832 GB, free: 12.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=53): time 0.001642/0.3406, allocations: 0.9699 MB / 0.5841 GB, free: 11.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003427/0.3409, allocations: 0.6726 MB / 0.5848 GB, free: 10.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009869/0.3419, allocations: 0.8459 MB / 0.5856 GB, free: 9.863 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.012e-05/0.342, allocations: 45.7 kB / 0.5857 GB, free: 9.812 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003098/0.3423, allocations: 361.6 kB / 0.586 GB, free: 9.453 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.3425, allocations: 230 kB / 0.5862 GB, free: 9.227 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003378/0.3428, allocations: 250.6 kB / 0.5865 GB, free: 8.973 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.3431, allocations: 422.7 kB / 0.5869 GB, free: 8.551 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008514/0.3439, allocations: 0.5846 MB / 0.5874 GB, free: 7.969 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.3453, allocations: 1.44 MB / 0.5888 GB, free: 6.305 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.3469, allocations: 1.128 MB / 0.59 GB, free: 5.172 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3469, allocations: 4 kB / 0.59 GB, free: 5.168 MB / 430.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003131/0.35, allocations: 1.922 MB / 0.5918 GB, free: 3.203 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.35, allocations: 4 kB / 0.5918 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.462e-05/0.3501, allocations: 15.98 kB / 0.5919 GB, free: 3.184 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.3515, allocations: 0.4939 MB / 0.5923 GB, free: 2.652 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005634/0.3521, allocations: 139.8 kB / 0.5925 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01492/0.367, allocations: 16.95 MB / 0.609 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006678/0.3676, allocations: 130.9 kB / 0.6091 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.246e-05/0.3677, allocations: 31.98 kB / 0.6092 GB, free: 32 kB / 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.000442/0.3682, allocations: 289.7 kB / 0.6094 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.3683, allocations: 91.39 kB / 0.6095 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.3685, allocations: 105.3 kB / 0.6096 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3685, allocations: 7.938 kB / 0.6096 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3685, allocations: 0 / 0.6096 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.3685, allocations: 7.922 kB / 0.6097 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007101/0.3692, allocations: 0.5358 MB / 0.6102 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3692, allocations: 4 kB / 0.6102 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006773/0.3699, allocations: 107.9 kB / 0.6103 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3699, allocations: 0 / 0.6103 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-05/0.3699, allocations: 27.97 kB / 0.6103 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.3699, allocations: 4 kB / 0.6103 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3699, allocations: 0 / 0.6103 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.3716, allocations: 1.163 MB / 0.6114 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.3717, allocations: 87.22 kB / 0.6115 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.3719, allocations: 35.97 kB / 0.6116 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/0.3722, allocations: 31.97 kB / 0.6116 GB, free: 13.47 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.772e-05/0.3723, allocations: 32.38 kB / 0.6116 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.402e-05/0.3723, allocations: 19.94 kB / 0.6116 GB, free: 13.42 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006911/0.373, allocations: 0.5386 MB / 0.6122 GB, free: 12.87 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.373, allocations: 0 / 0.6122 GB, free: 12.87 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002454/0.3755, allocations: 0.7651 MB / 0.6129 GB, free: 12.1 MB / 462.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.003435/0.3789, allocations: 2.301 MB / 0.6152 GB, free: 9.773 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004412/0.3833, allocations: 2.883 MB / 0.618 GB, free: 6.648 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.3833, allocations: 0 / 0.618 GB, free: 6.648 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005746/0.3839, allocations: 326.2 kB / 0.6183 GB, free: 6.328 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.385, allocations: 235.5 kB / 0.6185 GB, free: 6.113 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/0.4005, allocations: 10.35 MB / 0.6286 GB, free: 11.55 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/0.4011, allocations: 492 kB / 0.6291 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004927/0.4016, allocations: 169.2 kB / 0.6293 GB, free: 10.87 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004592/0.402, allocations: 339.3 kB / 0.6296 GB, free: 10.54 MB / 478.1 MB Notification: Performance of SimCode: time 1.423e-06/0.402, allocations: 0 / 0.6296 GB, free: 10.54 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08434/0.4864, allocations: 31.49 MB / 0.6603 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.72, allocations: 15.78 kB / 0.6604 GB, free: 11.26 MB / 0.4981 GB " [Timeout remaining time 647] (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 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.848853646311909]