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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001106/0.001106, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001075/0.001075, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001258, allocations: 60.34 kB / 307 MB, free: 0.5352 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09637/0.09765, allocations: 50.52 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003295/0.101, allocations: 1.845 MB / 359.4 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005632/0.1066, allocations: 3.548 MB / 363 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002317/0.1069, allocations: 7.938 kB / 363 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004729/0.1074, allocations: 131.3 kB / 363.1 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.1076, allocations: 35.66 kB / 363.1 MB, free: 8.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004758/0.1124, allocations: 1.774 MB / 364.9 MB, free: 6.668 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004954/0.1129, allocations: 307.1 kB / 365.2 MB, free: 6.367 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.113, allocations: 36.66 kB / 365.2 MB, free: 6.332 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.1133, allocations: 111.6 kB / 365.3 MB, free: 6.223 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.1135, allocations: 107.4 kB / 365.5 MB, free: 6.117 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.1135, allocations: 12 kB / 365.5 MB, free: 6.105 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002877/0.1138, allocations: 147.7 kB / 365.6 MB, free: 5.961 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.114, allocations: 71.73 kB / 365.7 MB, free: 5.891 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.1141, allocations: 99.34 kB / 365.8 MB, free: 5.793 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.1145, allocations: 334.9 kB / 366.1 MB, free: 5.465 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1145, allocations: 0 / 366.1 MB, free: 5.465 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1145, allocations: 0 / 366.1 MB, free: 5.465 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.1145, allocations: 0 / 366.1 MB, free: 5.465 MB / 302.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.0009058/0.1155, allocations: 0.5903 MB / 366.7 MB, free: 4.828 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.1155, allocations: 8.031 kB / 366.7 MB, free: 4.82 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.742e-05/0.1156, allocations: 38.75 kB / 366.7 MB, free: 4.773 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.334e-05/0.1156, allocations: 28.66 kB / 366.8 MB, free: 4.746 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.116, allocations: 284.1 kB / 367 MB, free: 4.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.116, allocations: 12.31 kB / 367.1 MB, free: 4.418 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.972e-05/0.1161, allocations: 23.91 kB / 367.1 MB, free: 4.395 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.1165, allocations: 206.1 kB / 367.3 MB, free: 4.156 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.1165, allocations: 0 / 367.3 MB, free: 4.156 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.1165, allocations: 4 kB / 367.3 MB, free: 4.152 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.1165, allocations: 4 kB / 367.3 MB, free: 4.148 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.1167, allocations: 87.88 kB / 367.4 MB, free: 4.062 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008516/0.1176, allocations: 492.5 kB / 367.9 MB, free: 3.531 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.1179, allocations: 174.4 kB / 368 MB, free: 3.352 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.118, allocations: 64.84 kB / 368.1 MB, free: 3.285 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.1181, allocations: 0 / 368.1 MB, free: 3.285 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.1181, allocations: 34.56 kB / 368.1 MB, free: 3.242 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.1181, allocations: 0 / 368.1 MB, free: 3.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004554/0.1186, allocations: 213.3 kB / 368.3 MB, free: 3.027 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.1187, allocations: 298.7 kB / 368.6 MB, free: 2.668 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.119, allocations: 272.5 kB / 368.9 MB, free: 2.391 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.119, allocations: 37.64 kB / 368.9 MB, free: 2.348 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.1191, allocations: 160.3 kB / 369.1 MB, free: 2.188 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.1192, allocations: 55.25 kB / 369.1 MB, free: 2.133 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.392e-05/0.1193, allocations: 57.7 kB / 369.2 MB, free: 2.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1194, allocations: 342.8 kB / 369.5 MB, free: 1.727 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.1196, allocations: 99.94 kB / 369.6 MB, free: 1.629 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.1198, allocations: 177.6 kB / 369.8 MB, free: 1.426 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.1201, allocations: 197.5 kB / 370 MB, free: 1.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.1202, allocations: 4 kB / 370 MB, free: 1.227 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004737/0.1206, allocations: 309.2 kB / 370.3 MB, free: 0.918 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1207, allocations: 4 kB / 370.3 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.537e-05/0.1207, allocations: 7.984 kB / 370.3 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1207, allocations: 0 / 370.3 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.121, allocations: 51.97 kB / 370.4 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.121, allocations: 3.938 kB / 370.4 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.1211, allocations: 27.67 kB / 370.4 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.1211, allocations: 8 kB / 370.4 MB, free: 0.8164 MB / 302.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.0001376/0.1213, allocations: 153.7 kB / 370.5 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.278e-05/0.1214, allocations: 23.72 kB / 370.6 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.614e-05/0.1214, allocations: 33.97 kB / 370.6 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.1214, allocations: 4 kB / 370.6 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1214, allocations: 3.938 kB / 370.6 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1215, allocations: 0 / 370.6 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.1217, allocations: 265.4 kB / 370.9 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1218, allocations: 0 / 370.9 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.1219, allocations: 31.92 kB / 370.9 MB, free: 256 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.122, allocations: 4.109 kB / 370.9 MB, free: 252 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.122, allocations: 7.938 kB / 370.9 MB, free: 244 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.122, allocations: 0 / 370.9 MB, free: 244 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.122, allocations: 3.938 kB / 370.9 MB, free: 240 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1499/0.2719, allocations: 337.2 kB / 371.2 MB, free: 20.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.127e-05/0.272, allocations: 95.72 kB / 371.3 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/0.272, allocations: 5.656 kB / 371.3 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.2722, allocations: 11.31 kB / 371.4 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.2723, allocations: 15.06 kB / 371.4 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.2723, allocations: 5.25 kB / 371.4 MB, free: 20.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002039/0.2725, allocations: 196.9 kB / 371.6 MB, free: 20.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2725, allocations: 0 / 371.6 MB, free: 20.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004574/0.273, allocations: 73.75 kB / 371.6 MB, free: 20.63 MB / 302.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.0007693/0.2737, allocations: 0.9068 MB / 372.5 MB, free: 19.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004761/0.2742, allocations: 301.7 kB / 372.8 MB, free: 19.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.2742, allocations: 6.406 kB / 372.8 MB, free: 19.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.2744, allocations: 64.66 kB / 372.9 MB, free: 19.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/0.2749, allocations: 72.86 kB / 373 MB, free: 19.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003301/0.2782, allocations: 2.79 MB / 375.8 MB, free: 18.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.2784, allocations: 0.7677 MB / 376.5 MB, free: 17.77 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.2786, allocations: 48.97 kB / 376.6 MB, free: 17.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.2787, allocations: 84.47 kB / 376.7 MB, free: 17.71 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2787, allocations: 0 / 376.7 MB, free: 17.71 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/0.307, allocations: 6.449 MB / 383.1 MB, free: 16.56 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.473/7.78, allocations: 13.23 kB / 383.1 MB, free: 16.56 MB / 302.1 MB (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 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches