Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 121.4 kB / 18.45 MB, free: 4.477 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 189.2 kB / 21.39 MB, free: 1.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 207.6 MB / 231.8 MB, free: 4.023 MB / 174.1 MB " [Timeout remaining time 178] 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(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.001812/0.001812, allocations: 59.86 kB / 342.2 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09231/0.09413, allocations: 49.12 MB / 391.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003316/0.09744, allocations: 2.003 MB / 393.4 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006463/0.1039, allocations: 3.743 MB / 397.1 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002577/0.1042, allocations: 11.88 kB / 397.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005424/0.1047, allocations: 191.1 kB / 397.3 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.1049, allocations: 39.59 kB / 397.3 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004723/0.1096, allocations: 1.951 MB / 399.3 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007511/0.1103, allocations: 498.8 kB / 399.8 MB, free: 276 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.1105, allocations: 33.06 kB / 399.8 MB, free: 240 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.1107, allocations: 183.4 kB / 400 MB, free: 56 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000272/0.111, allocations: 175.2 kB / 400.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.099e-05/0.111, allocations: 24 kB / 400.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002538/0.1135, allocations: 1.799 MB / 402 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.1138, allocations: 127.5 kB / 402.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.1139, allocations: 166.9 kB / 402.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.116, allocations: 1.784 MB / 404.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.116, allocations: 0 / 404.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.116, allocations: 0 / 404.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.116, allocations: 0 / 404.1 MB, free: 11.98 MB / 334.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.001666/0.1177, allocations: 0.9066 MB / 405 MB, free: 11.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1177, allocations: 8.031 kB / 405 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.659e-05/0.1178, allocations: 54.73 kB / 405 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.769e-05/0.1179, allocations: 48.61 kB / 405.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/0.1184, allocations: 354.6 kB / 405.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.1185, allocations: 20.66 kB / 405.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-05/0.1185, allocations: 36.02 kB / 405.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005135/0.119, allocations: 303.1 kB / 405.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1191, allocations: 3.984 kB / 405.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.1191, allocations: 8 kB / 405.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.1191, allocations: 4 kB / 405.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.1194, allocations: 151.8 kB / 405.9 MB, free: 9.961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.1207, allocations: 0.6757 MB / 406.6 MB, free: 9.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006673/0.1214, allocations: 322.2 kB / 406.9 MB, free: 8.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.1216, allocations: 104.8 kB / 407 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.1216, allocations: 8 kB / 407 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.1216, allocations: 34.56 kB / 407.1 MB, free: 8.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.663e-06/0.1216, allocations: 0 / 407.1 MB, free: 8.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007464/0.1224, allocations: 389.5 kB / 407.5 MB, free: 8.367 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002475/0.1226, allocations: 363.8 kB / 407.8 MB, free: 7.926 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004628/0.1231, allocations: 413.8 kB / 408.2 MB, free: 7.512 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.1231, allocations: 33.7 kB / 408.2 MB, free: 7.473 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.1233, allocations: 192.9 kB / 408.4 MB, free: 7.277 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.905e-05/0.1234, allocations: 91.22 kB / 408.5 MB, free: 7.188 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.1235, allocations: 101.7 kB / 408.6 MB, free: 7.082 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1237, allocations: 354.7 kB / 409 MB, free: 6.727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.124, allocations: 212.4 kB / 409.2 MB, free: 6.516 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004304/0.1245, allocations: 314.4 kB / 409.5 MB, free: 6.168 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006007/0.1251, allocations: 401.5 kB / 409.9 MB, free: 5.777 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1251, allocations: 0 / 409.9 MB, free: 5.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001153/0.1262, allocations: 0.6463 MB / 410.5 MB, free: 5.113 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.1262, allocations: 8 kB / 410.5 MB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.295e-05/0.1263, allocations: 8 kB / 410.5 MB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005263/0.1268, allocations: 126.5 kB / 410.7 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.1271, allocations: 67.89 kB / 410.7 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004053/0.1311, allocations: 4.562 MB / 415.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.1314, allocations: 51.64 kB / 415.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.1314, allocations: 12 kB / 415.3 MB, free: 15.85 MB / 350.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.00022/0.1316, allocations: 173.7 kB / 415.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.618e-05/0.1317, allocations: 39.77 kB / 415.6 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.965e-05/0.1318, allocations: 51.8 kB / 415.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.1318, allocations: 7.938 kB / 415.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.1318, allocations: 0 / 415.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1318, allocations: 0 / 415.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004116/0.1322, allocations: 349.3 kB / 416 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1322, allocations: 0 / 416 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/0.1325, allocations: 43.91 kB / 416 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1325, allocations: 4 kB / 416 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.1325, allocations: 11.98 kB / 416 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.1326, allocations: 3.938 kB / 416 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1326, allocations: 4 kB / 416 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007224/0.1333, allocations: 0.5067 MB / 416.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.367e-05/0.1334, allocations: 112.8 kB / 416.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.1334, allocations: 23.92 kB / 416.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.1336, allocations: 12 kB / 416.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.1336, allocations: 11.97 kB / 416.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.1337, allocations: 4 kB / 416.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000293/0.134, allocations: 279.1 kB / 417 MB, free: 14.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.134, allocations: 0 / 417 MB, free: 14.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001903/0.1359, allocations: 0.6481 MB / 417.6 MB, free: 13.5 MB / 350.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.002504/0.1384, allocations: 1.607 MB / 419.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.14, allocations: 0.9221 MB / 420.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.14, allocations: 0 / 420.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000223/0.1402, allocations: 124 kB / 420.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006364/0.1409, allocations: 125.5 kB / 420.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006736/0.1476, allocations: 4.511 MB / 424.9 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/0.1481, allocations: 0.838 MB / 425.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002424/0.1483, allocations: 66.94 kB / 425.8 MB, free: 5.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001969/0.1485, allocations: 131.4 kB / 425.9 MB, free: 4.941 MB / 350.1 MB Notification: Performance of SimCode: time 9.11e-07/0.1485, allocations: 0 / 425.9 MB, free: 4.941 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0689/0.2174, allocations: 17.17 MB / 443.1 MB, free: 3.703 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.09, allocations: 7.875 kB / 443.1 MB, free: 3.695 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_Filter.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.538447617087513]