Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001906/0.001906, allocations: 108.6 kB / 18.49 MB, free: 4.543 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.002197/0.002197, allocations: 197 kB / 21.43 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Blocks_Examples_Filter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Filter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 51.91 kB / 366.3 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1027, allocations: 52.14 MB / 418.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003655/0.1064, allocations: 2.011 MB / 420.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006529/0.1129, allocations: 3.698 MB / 424.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002609/0.1132, allocations: 23.75 kB / 424.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005383/0.1137, allocations: 179.1 kB / 424.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.1139, allocations: 51.56 kB / 424.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004665/0.1186, allocations: 1.928 MB / 426.4 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007562/0.1193, allocations: 0.4948 MB / 426.9 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.1195, allocations: 29.08 kB / 426.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003006/0.1198, allocations: 187.4 kB / 427.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003078/0.1201, allocations: 175.1 kB / 427.2 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.931e-05/0.1202, allocations: 28 kB / 427.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002646/0.1228, allocations: 1.799 MB / 429.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.123, allocations: 131.5 kB / 429.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.1232, allocations: 166.9 kB / 429.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002046/0.1252, allocations: 1.769 MB / 431.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1252, allocations: 0 / 431.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1252, allocations: 0 / 431.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.1252, allocations: 0 / 431.1 MB, free: 15.93 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.001663/0.1269, allocations: 0.9221 MB / 432 MB, free: 14.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.127, allocations: 8.031 kB / 432 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.683e-05/0.127, allocations: 8.453 kB / 432.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.401e-05/0.127, allocations: 50.75 kB / 432.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.332e-05/0.1271, allocations: 52.64 kB / 432.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.1276, allocations: 362 kB / 432.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.1276, allocations: 16.28 kB / 432.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.107e-05/0.1277, allocations: 24 kB / 432.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004748/0.1282, allocations: 303.1 kB / 432.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1282, allocations: 4 kB / 432.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.1282, allocations: 11.98 kB / 432.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1282, allocations: 4 kB / 432.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.1285, allocations: 152.3 kB / 433 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.1297, allocations: 0.6718 MB / 433.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006723/0.1303, allocations: 318.4 kB / 434 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.1305, allocations: 100.8 kB / 434.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.1305, allocations: 4.375 kB / 434.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.1306, allocations: 46.44 kB / 434.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.352e-06/0.1306, allocations: 0 / 434.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007283/0.1313, allocations: 378.7 kB / 434.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002137/0.1315, allocations: 375.8 kB / 434.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/0.1319, allocations: 405.8 kB / 435.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.843e-05/0.132, allocations: 37.7 kB / 435.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.1321, allocations: 200.9 kB / 435.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.474e-05/0.1322, allocations: 87.27 kB / 435.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.1324, allocations: 101.7 kB / 435.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1325, allocations: 350.8 kB / 436 MB, free: 10.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.1329, allocations: 208.4 kB / 436.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.1333, allocations: 322.3 kB / 436.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005952/0.1339, allocations: 393.6 kB / 436.9 MB, free: 9.715 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1339, allocations: 0 / 436.9 MB, free: 9.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001132/0.135, allocations: 0.6537 MB / 437.6 MB, free: 9.043 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.135, allocations: 10.5 kB / 437.6 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/0.1351, allocations: 7.984 kB / 437.6 MB, free: 9.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004378/0.1355, allocations: 122.5 kB / 437.7 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.1358, allocations: 71.89 kB / 437.8 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004537/0.1403, allocations: 4.554 MB / 442.4 MB, free: 3.855 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.1407, allocations: 55.58 kB / 442.4 MB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/0.1407, allocations: 15.94 kB / 442.4 MB, free: 3.785 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.0002853/0.141, allocations: 186.4 kB / 442.6 MB, free: 3.594 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.306e-05/0.1411, allocations: 43.66 kB / 442.7 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.885e-05/0.1412, allocations: 43.75 kB / 442.7 MB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1412, allocations: 4 kB / 442.7 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1412, allocations: 0 / 442.7 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1412, allocations: 0 / 442.7 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004596/0.1417, allocations: 349.4 kB / 443 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1417, allocations: 0 / 443 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/0.142, allocations: 43.92 kB / 443.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.142, allocations: 4 kB / 443.1 MB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.142, allocations: 11.98 kB / 443.1 MB, free: 3.059 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.142, allocations: 0 / 443.1 MB, free: 3.059 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.142, allocations: 0 / 443.1 MB, free: 3.059 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007827/0.1428, allocations: 0.504 MB / 443.6 MB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.1429, allocations: 112.8 kB / 443.7 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/0.1429, allocations: 15.98 kB / 443.7 MB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.1431, allocations: 19.98 kB / 443.7 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.1432, allocations: 7.984 kB / 443.8 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.1432, allocations: 4 kB / 443.8 MB, free: 2.363 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003141/0.1435, allocations: 271.1 kB / 444 MB, free: 2.102 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1435, allocations: 3.938 kB / 444 MB, free: 2.098 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002048/0.1456, allocations: 0.6637 MB / 444.7 MB, free: 1.434 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.1764/0.3219, allocations: 1.61 MB / 446.3 MB, free: 29.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.3231, allocations: 0.9191 MB / 447.2 MB, free: 28.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.3231, allocations: 2 kB / 447.2 MB, free: 28.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.3233, allocations: 120.4 kB / 447.3 MB, free: 28.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005875/0.3239, allocations: 113.9 kB / 447.5 MB, free: 28.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005156/0.3291, allocations: 4.507 MB / 452 MB, free: 27.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.3294, allocations: 0.8464 MB / 452.8 MB, free: 26.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002109/0.3296, allocations: 70.53 kB / 452.9 MB, free: 26.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.3297, allocations: 130 kB / 453 MB, free: 26.69 MB / 366.1 MB Notification: Performance of SimCode: time 5.72e-07/0.3297, allocations: 3.375 kB / 453 MB, free: 26.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04949/0.3792, allocations: 17.21 MB / 470.2 MB, free: 20.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.5, allocations: 7.531 kB / 470.2 MB, free: 20.97 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Filter.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.176524311013054]