Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.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.000976/0.000976, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001824/0.001824, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.906/0.906, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.096e-05, allocations: 2.281 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002026/0.002047, allocations: 1.778 MB / 326.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003688/0.005735, allocations: 3.335 MB / 329.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.005874, allocations: 15.81 kB / 329.6 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000417/0.006291, allocations: 143.2 kB / 329.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.461e-05/0.006376, allocations: 27.72 kB / 329.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003003/0.009378, allocations: 1.858 MB / 331.7 MB, free: 8.738 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.009673, allocations: 319.1 kB / 332 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.009776, allocations: 20.92 kB / 332 MB, free: 8.406 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.009966, allocations: 159.5 kB / 332.1 MB, free: 8.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.133e-05/0.01006, allocations: 87.72 kB / 332.2 MB, free: 8.164 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.01008, allocations: 12 kB / 332.2 MB, free: 8.152 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.01029, allocations: 175.6 kB / 332.4 MB, free: 7.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.76e-05/0.01037, allocations: 67.75 kB / 332.5 MB, free: 7.914 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.279e-05/0.01043, allocations: 59.77 kB / 332.5 MB, free: 7.855 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003344/0.01076, allocations: 358.8 kB / 332.9 MB, free: 7.504 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.01076, allocations: 0 / 332.9 MB, free: 7.504 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.01076, allocations: 7.938 kB / 332.9 MB, free: 7.496 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.01077, allocations: 0 / 332.9 MB, free: 7.496 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.0005636/0.01133, allocations: 0.5046 MB / 333.4 MB, free: 6.961 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.01137, allocations: 19.92 kB / 333.4 MB, free: 6.941 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.821e-05/0.01141, allocations: 46.69 kB / 333.5 MB, free: 6.887 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.01146, allocations: 28.75 kB / 333.5 MB, free: 6.859 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.01174, allocations: 217.9 kB / 333.7 MB, free: 6.621 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.01175, allocations: 12.56 kB / 333.7 MB, free: 6.609 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.01179, allocations: 24.31 kB / 333.7 MB, free: 6.586 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.01207, allocations: 441.5 kB / 334.2 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.01208, allocations: 0 / 334.2 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.0121, allocations: 8 kB / 334.2 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.0121, allocations: 0 / 334.2 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.01222, allocations: 83.94 kB / 334.3 MB, free: 5.973 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.01275, allocations: 443.6 kB / 334.7 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.01295, allocations: 166.4 kB / 334.9 MB, free: 5.324 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.549e-05/0.01301, allocations: 52.83 kB / 334.9 MB, free: 5.266 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.01303, allocations: 4 kB / 334.9 MB, free: 5.262 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.01305, allocations: 34.56 kB / 334.9 MB, free: 5.219 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 8.72e-07/0.01305, allocations: 4 kB / 334.9 MB, free: 5.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003041/0.01335, allocations: 224.8 kB / 335.2 MB, free: 4.992 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.85e-05/0.01345, allocations: 286.7 kB / 335.4 MB, free: 4.645 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.01364, allocations: 284.6 kB / 335.7 MB, free: 4.355 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.01366, allocations: 33.7 kB / 335.8 MB, free: 4.316 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.275e-05/0.01374, allocations: 156.4 kB / 335.9 MB, free: 4.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.01377, allocations: 51.59 kB / 336 MB, free: 4.109 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.089e-05/0.01383, allocations: 57.69 kB / 336 MB, free: 4.047 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.01393, allocations: 342.8 kB / 336.4 MB, free: 3.703 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.01405, allocations: 103.9 kB / 336.5 MB, free: 3.602 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.01428, allocations: 407.8 kB / 336.9 MB, free: 3.117 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002289/0.01451, allocations: 217.5 kB / 337.1 MB, free: 2.902 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01451, allocations: 0 / 337.1 MB, free: 2.902 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003059/0.01482, allocations: 305.4 kB / 337.4 MB, free: 2.598 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.01483, allocations: 4 kB / 337.4 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.01485, allocations: 7.984 kB / 337.4 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.01487, allocations: 0 / 337.4 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.01502, allocations: 51.91 kB / 337.4 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.01503, allocations: 0 / 337.4 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.01509, allocations: 31.77 kB / 337.5 MB, free: 2.504 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.01511, allocations: 7.984 kB / 337.5 MB, free: 2.496 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.0001015/0.01521, allocations: 157.8 kB / 337.6 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.01524, allocations: 31.75 kB / 337.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.371e-05/0.01527, allocations: 29.91 kB / 337.7 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.01527, allocations: 0 / 337.7 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.01528, allocations: 4 kB / 337.7 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01528, allocations: 112 / 337.7 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.01548, allocations: 228.5 kB / 337.9 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.01548, allocations: 0 / 337.9 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.382e-05/0.01557, allocations: 27.98 kB / 337.9 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.01557, allocations: 0 / 337.9 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.01559, allocations: 4 kB / 337.9 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.01559, allocations: 4 kB / 337.9 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.01559, allocations: 0 / 337.9 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.01591, allocations: 339.1 kB / 338.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.212e-05/0.01593, allocations: 23.75 kB / 338.3 MB, free: 1.598 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.01596, allocations: 8.062 kB / 338.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.32e-05/0.01602, allocations: 15.98 kB / 338.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.01605, allocations: 7.984 kB / 338.3 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.01606, allocations: 4 kB / 338.3 MB, free: 1.562 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001213/0.01618, allocations: 195.1 kB / 338.5 MB, free: 1.375 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01618, allocations: 4 kB / 338.5 MB, free: 1.371 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002397/0.01642, allocations: 79.88 kB / 338.6 MB, free: 1.293 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.0005771/0.017, allocations: 0.9143 MB / 339.5 MB, free: 360 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002866/0.01728, allocations: 269 kB / 339.8 MB, free: 72 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01728, allocations: 0 / 339.8 MB, free: 72 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.256e-05/0.01736, allocations: 63.91 kB / 339.8 MB, free: 8 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.01766, allocations: 86.52 kB / 339.9 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.02001, allocations: 2.776 MB / 342.7 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.02012, allocations: 169.7 kB / 342.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.651e-05/0.02022, allocations: 37.92 kB / 342.9 MB, free: 12.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.61e-05/0.02031, allocations: 80.48 kB / 343 MB, free: 12.76 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02031, allocations: 0 / 343 MB, free: 12.76 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01964/0.03995, allocations: 7.523 MB / 350.5 MB, free: 5.375 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.087/7.127, allocations: 3.938 kB / 350.5 MB, free: 5.371 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.85884262714535]