Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.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.001803/0.001803, allocations: 117.8 kB / 18.5 MB, free: 4.434 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.002126/0.002126, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.458/1.458, allocations: 230.2 MB / 254.5 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 67.89 kB / 373.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09992/0.1017, allocations: 53.32 MB / 426.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003178/0.1049, allocations: 2.029 MB / 428.7 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006146/0.1111, allocations: 3.748 MB / 432.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002451/0.1113, allocations: 11.88 kB / 432.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000547/0.1118, allocations: 187.1 kB / 432.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.112, allocations: 43.58 kB / 432.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004566/0.1165, allocations: 1.933 MB / 434.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007776/0.1173, allocations: 0.4987 MB / 435.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.1175, allocations: 29.09 kB / 435.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.1177, allocations: 183.4 kB / 435.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/0.1179, allocations: 175.1 kB / 435.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.092e-05/0.118, allocations: 24 kB / 435.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002724/0.1207, allocations: 1.816 MB / 437.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.1209, allocations: 123.5 kB / 437.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.1212, allocations: 166.9 kB / 437.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002214/0.1234, allocations: 1.781 MB / 439.4 MB, free: 8.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1234, allocations: 0 / 439.4 MB, free: 8.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1234, allocations: 4 kB / 439.4 MB, free: 8.266 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.1234, allocations: 3.984 kB / 439.4 MB, free: 8.262 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001788/0.1252, allocations: 0.9143 MB / 440.3 MB, free: 7.293 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.1252, allocations: 12.03 kB / 440.3 MB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.386e-05/0.1253, allocations: 50.73 kB / 440.4 MB, free: 7.223 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.962e-05/0.1254, allocations: 56.55 kB / 440.4 MB, free: 7.168 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000558/0.1259, allocations: 354.5 kB / 440.8 MB, free: 6.781 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.126, allocations: 16.66 kB / 440.8 MB, free: 6.766 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.05e-05/0.126, allocations: 36.06 kB / 440.8 MB, free: 6.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004905/0.1265, allocations: 299.1 kB / 441.1 MB, free: 6.395 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1265, allocations: 7.938 kB / 441.1 MB, free: 6.387 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.1266, allocations: 12 kB / 441.1 MB, free: 6.375 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1266, allocations: 4 kB / 441.1 MB, free: 6.371 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002912/0.1269, allocations: 144.7 kB / 441.3 MB, free: 6.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.1281, allocations: 0.668 MB / 441.9 MB, free: 5.512 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006585/0.1288, allocations: 325.7 kB / 442.3 MB, free: 5.188 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.1289, allocations: 100.8 kB / 442.4 MB, free: 5.086 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.129, allocations: 4 kB / 442.4 MB, free: 5.082 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.129, allocations: 38.56 kB / 442.4 MB, free: 5.035 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.374e-06/0.129, allocations: 0 / 442.4 MB, free: 5.035 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007295/0.1297, allocations: 385.1 kB / 442.8 MB, free: 4.652 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002061/0.1299, allocations: 371.8 kB / 443.1 MB, free: 4.203 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004395/0.1304, allocations: 401.8 kB / 443.5 MB, free: 3.797 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.1304, allocations: 37.7 kB / 443.6 MB, free: 3.754 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.1306, allocations: 204.8 kB / 443.8 MB, free: 3.551 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.726e-05/0.1306, allocations: 91.27 kB / 443.9 MB, free: 3.461 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.1308, allocations: 93.69 kB / 444 MB, free: 3.363 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.131, allocations: 366.8 kB / 444.3 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003299/0.1313, allocations: 208.2 kB / 444.5 MB, free: 2.793 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/0.1317, allocations: 314.4 kB / 444.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005754/0.1323, allocations: 393.6 kB / 445.2 MB, free: 2.059 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1323, allocations: 0 / 445.2 MB, free: 2.059 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001117/0.1334, allocations: 0.6539 MB / 445.9 MB, free: 1.391 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.1334, allocations: 10.5 kB / 445.9 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.857e-05/0.1335, allocations: 7.984 kB / 445.9 MB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004341/0.1339, allocations: 134.4 kB / 446 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.1342, allocations: 59.97 kB / 446.1 MB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.182/0.3161, allocations: 4.539 MB / 450.6 MB, free: 19.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.3164, allocations: 52.69 kB / 450.7 MB, free: 19.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.3164, allocations: 8.344 kB / 450.7 MB, free: 19.89 MB / 366.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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0001914/0.3166, allocations: 180.6 kB / 450.8 MB, free: 19.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.569e-05/0.3167, allocations: 43.16 kB / 450.9 MB, free: 19.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.28e-05/0.3167, allocations: 45.59 kB / 450.9 MB, free: 19.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.3168, allocations: 4.531 kB / 450.9 MB, free: 19.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.3168, allocations: 0 / 450.9 MB, free: 19.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3168, allocations: 3.656 kB / 450.9 MB, free: 19.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.3171, allocations: 354.3 kB / 451.3 MB, free: 19.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3171, allocations: 3.312 kB / 451.3 MB, free: 19.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.3173, allocations: 40.08 kB / 451.3 MB, free: 19.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3173, allocations: 1.875 kB / 451.3 MB, free: 19.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.3174, allocations: 13.5 kB / 451.3 MB, free: 19.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.3174, allocations: 3.562 kB / 451.3 MB, free: 19.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3174, allocations: 0 / 451.3 MB, free: 19.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005463/0.3179, allocations: 0.5101 MB / 451.9 MB, free: 19.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/0.318, allocations: 113.8 kB / 452 MB, free: 19.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.318, allocations: 10.67 kB / 452 MB, free: 19.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.3182, allocations: 16.08 kB / 452 MB, free: 19.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.3182, allocations: 14 kB / 452 MB, free: 19.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.3182, allocations: 2.938 kB / 452 MB, free: 19.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000244/0.3185, allocations: 272.3 kB / 452.3 MB, free: 19.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3185, allocations: 0 / 452.3 MB, free: 19.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001737/0.3202, allocations: 0.665 MB / 452.9 MB, free: 19.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.002081/0.3223, allocations: 1.616 MB / 454.6 MB, free: 18.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.3235, allocations: 0.9244 MB / 455.5 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.3235, allocations: 1.312 kB / 455.5 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.3237, allocations: 119.3 kB / 455.6 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000583/0.3243, allocations: 116.8 kB / 455.7 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005851/0.3302, allocations: 4.515 MB / 460.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.3305, allocations: 0.8367 MB / 461.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002251/0.3307, allocations: 67.3 kB / 461.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.3309, allocations: 127.8 kB / 461.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3309, allocations: 0 / 461.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05107/0.3819, allocations: 17.29 MB / 478.5 MB, free: 8.918 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.02, allocations: 14.89 kB / 478.6 MB, free: 8.91 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Filter.fmu > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.Filter.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: 13.56266844458878]