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.001861/0.001861, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002197/0.002197, allocations: 213 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.444/1.444, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002151/0.002151, allocations: 51.91 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2802, allocations: 53.37 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.003174/0.2834, allocations: 1.773 MB / 432.8 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00555/0.2889, allocations: 3.328 MB / 436.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.2891, allocations: 11.88 kB / 436.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004062/0.2895, allocations: 135.3 kB / 436.3 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.2896, allocations: 43.64 kB / 436.4 MB, free: 1.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003702/0.2933, allocations: 1.762 MB / 438.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000403/0.2937, allocations: 315 kB / 438.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.2938, allocations: 20.92 kB / 438.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.294, allocations: 131.5 kB / 438.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.2941, allocations: 103.4 kB / 438.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.2942, allocations: 12 kB / 438.7 MB, free: 15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003009/0.2945, allocations: 175.7 kB / 438.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.2946, allocations: 75.7 kB / 438.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.911e-05/0.2947, allocations: 83.45 kB / 439 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004373/0.2951, allocations: 346.5 kB / 439.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2951, allocations: 0 / 439.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2951, allocations: 0 / 439.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.2951, allocations: 0 / 439.4 MB, free: 14.33 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.0008203/0.296, allocations: 0.5124 MB / 439.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.296, allocations: 12.03 kB / 439.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.603e-05/0.296, allocations: 46.73 kB / 439.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.2961, allocations: 32.75 kB / 440 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.2965, allocations: 222.5 kB / 440.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.2965, allocations: 16.31 kB / 440.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.32e-05/0.2966, allocations: 23.89 kB / 440.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.297, allocations: 433.5 kB / 440.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.297, allocations: 0 / 440.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.297, allocations: 8 kB / 440.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.297, allocations: 7.938 kB / 440.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001882/0.2972, allocations: 83.88 kB / 440.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007814/0.298, allocations: 435.7 kB / 441.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.2983, allocations: 166.4 kB / 441.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.2984, allocations: 56.83 kB / 441.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.2984, allocations: 0 / 441.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.2984, allocations: 38.56 kB / 441.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 9.62e-07/0.2984, allocations: 0 / 441.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004644/0.2989, allocations: 223.5 kB / 441.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001705/0.2991, allocations: 290.8 kB / 441.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.2994, allocations: 284.4 kB / 442.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.2994, allocations: 33.7 kB / 442.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.2995, allocations: 156.5 kB / 442.4 MB, free: 11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/0.2996, allocations: 55.53 kB / 442.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.054e-05/0.2997, allocations: 61.69 kB / 442.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2998, allocations: 338.8 kB / 442.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.3, allocations: 95.94 kB / 442.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003589/0.3004, allocations: 407.8 kB / 443.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.3007, allocations: 213.9 kB / 443.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3007, allocations: 4 kB / 443.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004677/0.3012, allocations: 305.4 kB / 443.8 MB, free: 9.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3012, allocations: 12 kB / 443.8 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.3012, allocations: 4 kB / 443.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.3012, allocations: 0 / 443.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.3015, allocations: 51.89 kB / 443.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.3015, allocations: 7.938 kB / 443.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.3016, allocations: 19.95 kB / 443.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.3016, allocations: 15.94 kB / 443.9 MB, free: 9.332 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.0001455/0.3017, allocations: 145.8 kB / 444.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-05/0.3018, allocations: 27.81 kB / 444.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.563e-05/0.3018, allocations: 29.91 kB / 444.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3019, allocations: 4 kB / 444.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3019, allocations: 3.938 kB / 444.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3019, allocations: 0 / 444.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.3021, allocations: 224.6 kB / 444.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3021, allocations: 0 / 444.4 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.3023, allocations: 31.92 kB / 444.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3023, allocations: 0 / 444.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.3023, allocations: 4 kB / 444.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3023, allocations: 96 / 444.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3023, allocations: 11.88 kB / 444.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004751/0.3028, allocations: 342 kB / 444.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.3028, allocations: 27.8 kB / 444.8 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.3029, allocations: 4 kB / 444.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.303, allocations: 8.062 kB / 444.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.303, allocations: 15.91 kB / 444.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.303, allocations: 4 kB / 444.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001876/0.3032, allocations: 195.1 kB / 445 MB, free: 8.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3032, allocations: 0 / 445 MB, free: 8.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003332/0.3036, allocations: 75.86 kB / 445.1 MB, free: 8.137 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.0008919/0.3045, allocations: 0.9214 MB / 446 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004331/0.3049, allocations: 265 kB / 446.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3049, allocations: 0 / 446.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.305, allocations: 59.91 kB / 446.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.3055, allocations: 92.31 kB / 446.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/0.309, allocations: 2.785 MB / 449.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.3092, allocations: 161.8 kB / 449.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.3093, allocations: 33.94 kB / 449.4 MB, free: 3.688 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.3095, allocations: 91.39 kB / 449.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3095, allocations: 0 / 449.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04758/0.357, allocations: 7.408 MB / 456.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.33, allocations: 8.062 kB / 456.9 MB, free: 12.38 MB / 366.1 MB " [Timeout remaining time 649] (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/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_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: 13.781589597929269]