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.001565/0.001565, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001862/0.001862, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.53/1.53, allocations: 230.5 MB / 257.4 MB, free: 7.762 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.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 0.00224/0.00224, allocations: 59.91 kB / 377.7 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4298, allocations: 53.41 MB / 431.1 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003752/0.4335, allocations: 1.78 MB / 432.9 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006528/0.4401, allocations: 3.316 MB / 436.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.4403, allocations: 15.81 kB / 436.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005483/0.4408, allocations: 139.4 kB / 436.4 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.4409, allocations: 39.64 kB / 436.4 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004859/0.4458, allocations: 1.777 MB / 438.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004894/0.4463, allocations: 315.1 kB / 438.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.4464, allocations: 16.94 kB / 438.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002552/0.4467, allocations: 127.5 kB / 438.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.4469, allocations: 103.4 kB / 438.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.701e-05/0.4469, allocations: 12 kB / 438.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003414/0.4472, allocations: 175.7 kB / 438.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.4474, allocations: 71.75 kB / 439 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.4475, allocations: 87.47 kB / 439.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005134/0.448, allocations: 354.5 kB / 439.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.448, allocations: 3.938 kB / 439.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.448, allocations: 0 / 439.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.448, allocations: 0 / 439.4 MB, free: 14.18 MB / 350.1 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.0009733/0.449, allocations: 0.5085 MB / 439.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.449, allocations: 11.98 kB / 439.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.576e-05/0.4491, allocations: 50.73 kB / 440 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.513e-05/0.4492, allocations: 32.75 kB / 440 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005262/0.4497, allocations: 226.6 kB / 440.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.4497, allocations: 12.31 kB / 440.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.368e-05/0.4498, allocations: 19.95 kB / 440.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005056/0.4503, allocations: 436.8 kB / 440.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4503, allocations: 0 / 440.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.4503, allocations: 11.94 kB / 440.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.4503, allocations: 0 / 440.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.4505, allocations: 87.88 kB / 440.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008912/0.4514, allocations: 435.7 kB / 441.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.4518, allocations: 162.5 kB / 441.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.4519, allocations: 56.83 kB / 441.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.4519, allocations: 4 kB / 441.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.4519, allocations: 34.59 kB / 441.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.4519, allocations: 0 / 441.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005232/0.4525, allocations: 225.4 kB / 441.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000219/0.4527, allocations: 290.7 kB / 442 MB, free: 11.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000319/0.453, allocations: 284.4 kB / 442.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.453, allocations: 29.7 kB / 442.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.4532, allocations: 152.5 kB / 442.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.077e-05/0.4532, allocations: 55.52 kB / 442.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.4534, allocations: 61.69 kB / 442.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002153/0.4536, allocations: 338.8 kB / 442.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.4538, allocations: 103.9 kB / 443 MB, free: 10.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003758/0.4541, allocations: 408.4 kB / 443.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.4545, allocations: 217.5 kB / 443.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4545, allocations: 0 / 443.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004848/0.455, allocations: 301.3 kB / 443.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.455, allocations: 4 kB / 443.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.797e-05/0.455, allocations: 8 kB / 443.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.4551, allocations: 3.984 kB / 443.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.4553, allocations: 48.06 kB / 444 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.4553, allocations: 7.875 kB / 444 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.4554, allocations: 27.84 kB / 444 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.4555, allocations: 4 kB / 444 MB, free: 9.191 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 (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.000197/0.4557, allocations: 157.7 kB / 444.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.4557, allocations: 27.92 kB / 444.2 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.66e-05/0.4558, allocations: 33.84 kB / 444.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.4558, allocations: 3.984 kB / 444.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.4558, allocations: 3.938 kB / 444.2 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4558, allocations: 4 kB / 444.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/0.4561, allocations: 220.6 kB / 444.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4561, allocations: 4 kB / 444.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.4563, allocations: 27.98 kB / 444.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.4563, allocations: 0 / 444.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.4563, allocations: 8 kB / 444.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4563, allocations: 3.938 kB / 444.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.4563, allocations: 3.938 kB / 444.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005411/0.4568, allocations: 327.3 kB / 444.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.4569, allocations: 27.8 kB / 444.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/0.4569, allocations: 8.062 kB / 444.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.457, allocations: 8 kB / 444.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.4571, allocations: 19.91 kB / 444.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.4571, allocations: 4 kB / 444.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00021/0.4573, allocations: 191.1 kB / 445.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4573, allocations: 0 / 445.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003787/0.4577, allocations: 83.86 kB / 445.1 MB, free: 7.98 MB / 350.1 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.0009892/0.4587, allocations: 0.9134 MB / 446.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005001/0.4592, allocations: 269.4 kB / 446.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4592, allocations: 8 kB / 446.3 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.4593, allocations: 63.91 kB / 446.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.4598, allocations: 75.52 kB / 446.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.4635, allocations: 2.789 MB / 449.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.4637, allocations: 165.8 kB / 449.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.4638, allocations: 50.16 kB / 449.5 MB, free: 3.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.464, allocations: 75.42 kB / 449.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.464, allocations: 0 / 449.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07983/0.5438, allocations: 7.382 MB / 456.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.32, allocations: 11.44 kB / 456.9 MB, free: 12.19 MB / 366.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/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: 15.197169034741819]