Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008313/0.0008313, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008291/0.0008291, allocations: 174.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8767/0.8767, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.884e-05, allocations: 2.281 kB / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.00197/0.001989, allocations: 1.779 MB / 326.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0038/0.005789, allocations: 3.339 MB / 329.7 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.005892, allocations: 15.81 kB / 329.7 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.006238, allocations: 143.3 kB / 329.8 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.77e-05/0.006315, allocations: 35.59 kB / 329.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002489/0.008804, allocations: 1.862 MB / 331.7 MB, free: 8.766 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.009068, allocations: 311.1 kB / 332 MB, free: 8.461 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.00917, allocations: 24.92 kB / 332 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.009353, allocations: 155.6 kB / 332.2 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.52e-05/0.009448, allocations: 91.72 kB / 332.3 MB, free: 8.195 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.009471, allocations: 15.94 kB / 332.3 MB, free: 8.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002177/0.009689, allocations: 167.7 kB / 332.5 MB, free: 8.016 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.417e-05/0.009783, allocations: 79.62 kB / 332.5 MB, free: 7.938 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.349e-05/0.009837, allocations: 59.77 kB / 332.6 MB, free: 7.879 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.01015, allocations: 354.9 kB / 333 MB, free: 7.531 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.01015, allocations: 0 / 333 MB, free: 7.531 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01015, allocations: 0 / 333 MB, free: 7.531 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.01016, allocations: 0 / 333 MB, free: 7.531 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005782/0.01073, allocations: 0.5124 MB / 333.5 MB, free: 6.988 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.01077, allocations: 15.95 kB / 333.5 MB, free: 6.973 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.01081, allocations: 42.75 kB / 333.5 MB, free: 6.922 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.01085, allocations: 32.75 kB / 333.6 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.01113, allocations: 221.8 kB / 333.8 MB, free: 6.648 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.01114, allocations: 8.562 kB / 333.8 MB, free: 6.641 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.01117, allocations: 20.33 kB / 333.8 MB, free: 6.621 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002945/0.01147, allocations: 444.6 kB / 334.2 MB, free: 6.098 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.01147, allocations: 3.984 kB / 334.2 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.01149, allocations: 4 kB / 334.2 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.01149, allocations: 4 kB / 334.2 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.01162, allocations: 79.94 kB / 334.3 MB, free: 6.008 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000769/0.01239, allocations: 443.6 kB / 334.8 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.01259, allocations: 158.5 kB / 334.9 MB, free: 5.367 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.895e-05/0.01266, allocations: 60.92 kB / 335 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.01267, allocations: 3.938 kB / 335 MB, free: 5.301 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.01269, allocations: 38.56 kB / 335 MB, free: 5.254 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.0127, allocations: 0 / 335 MB, free: 5.254 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003097/0.013, allocations: 221.4 kB / 335.2 MB, free: 5.031 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.73e-05/0.01309, allocations: 286.7 kB / 335.5 MB, free: 4.684 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.01328, allocations: 280.6 kB / 335.8 MB, free: 4.398 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.0133, allocations: 29.7 kB / 335.8 MB, free: 4.363 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.207e-05/0.01338, allocations: 160.5 kB / 336 MB, free: 4.203 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.01342, allocations: 55.53 kB / 336 MB, free: 4.148 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.158e-05/0.01348, allocations: 69.61 kB / 336.1 MB, free: 4.074 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.706e-05/0.01356, allocations: 342.8 kB / 336.4 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.01368, allocations: 99.94 kB / 336.5 MB, free: 3.629 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.01389, allocations: 404.4 kB / 336.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.01411, allocations: 213.5 kB / 337.1 MB, free: 2.938 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01411, allocations: 0 / 337.1 MB, free: 2.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003044/0.01441, allocations: 309.3 kB / 337.4 MB, free: 2.629 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.01443, allocations: 4 kB / 337.4 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.01445, allocations: 8 kB / 337.4 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.01446, allocations: 0 / 337.4 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.01461, allocations: 51.95 kB / 337.5 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.01462, allocations: 0 / 337.5 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.976e-05/0.01468, allocations: 27.78 kB / 337.5 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.01469, allocations: 4 kB / 337.5 MB, free: 2.535 MB / 298.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 19 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.01479, allocations: 157.8 kB / 337.7 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.01482, allocations: 31.75 kB / 337.7 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/0.01486, allocations: 29.91 kB / 337.7 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01486, allocations: 4 kB / 337.7 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.01486, allocations: 0 / 337.7 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.01487, allocations: 0 / 337.7 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.01506, allocations: 228.6 kB / 338 MB, free: 2.043 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.01506, allocations: 4 kB / 338 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.01516, allocations: 27.92 kB / 338 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01517, allocations: 4 kB / 338 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.01518, allocations: 0 / 338 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.01518, allocations: 7.984 kB / 338 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01518, allocations: 0 / 338 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.01549, allocations: 331.2 kB / 338.3 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.381e-05/0.01552, allocations: 31.73 kB / 338.4 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.01554, allocations: 8.062 kB / 338.4 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.396e-05/0.01561, allocations: 8 kB / 338.4 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.01564, allocations: 15.97 kB / 338.4 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.01565, allocations: 4 kB / 338.4 MB, free: 1.594 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001195/0.01577, allocations: 195 kB / 338.6 MB, free: 1.406 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01577, allocations: 0 / 338.6 MB, free: 1.406 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002472/0.01601, allocations: 87.8 kB / 338.7 MB, free: 1.32 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (filter_fac5.x[1],filter_fac5.x[2],filter_fac4.x[1],filter_fac4.x[2],filter_fac3.x[1],filter_fac3.x[2]) * 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 (13): * Single equations (assignments): 13 * 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.0006126/0.01663, allocations: 0.9183 MB / 339.6 MB, free: 384 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002875/0.01691, allocations: 265.1 kB / 339.8 MB, free: 100 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.01692, allocations: 3.938 kB / 339.9 MB, free: 96 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.947e-05/0.01699, allocations: 59.97 kB / 339.9 MB, free: 36 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.01731, allocations: 73.33 kB / 340 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.01987, allocations: 2.784 MB / 342.8 MB, free: 13.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.01998, allocations: 157.8 kB / 342.9 MB, free: 12.92 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.02008, allocations: 46.12 kB / 343 MB, free: 12.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.56e-05/0.02018, allocations: 84.47 kB / 343 MB, free: 12.79 MB / 314.7 MB Notification: Performance of SimCode: time 8.91e-07/0.02018, allocations: 0 / 343 MB, free: 12.79 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.04257, allocations: 7.534 MB / 350.6 MB, free: 5.449 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7/7.043, allocations: 3.984 kB / 350.6 MB, free: 5.445 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.FilterWithRiseTime.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: 8.688944812864065]