Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001315/0.001315, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001406/0.001406, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.FilterWithRiseTime,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 58.58 kB / 347.2 MB, free: 9.914 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2733, allocations: 49.16 MB / 396.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithRiseTime): time 0.002698/0.276, allocations: 1.755 MB / 398.1 MB, free: 7.699 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005132/0.2811, allocations: 3.326 MB / 401.4 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.2813, allocations: 10.91 kB / 401.4 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004655/0.2818, allocations: 141.2 kB / 401.6 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.967e-05/0.2819, allocations: 36.05 kB / 401.6 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004692/0.2866, allocations: 1.775 MB / 403.4 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004048/0.287, allocations: 305.3 kB / 403.7 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.2871, allocations: 24.55 kB / 403.7 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.2872, allocations: 116.3 kB / 403.8 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.2873, allocations: 102.7 kB / 403.9 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.522e-05/0.2874, allocations: 16.16 kB / 403.9 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003253/0.2877, allocations: 173.3 kB / 404.1 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.2878, allocations: 74.45 kB / 404.2 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.447e-05/0.2879, allocations: 77.97 kB / 404.2 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004487/0.2883, allocations: 344.8 kB / 404.6 MB, free: 4.551 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2883, allocations: 0.7031 kB / 404.6 MB, free: 4.551 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2883, allocations: 3.938 kB / 404.6 MB, free: 4.547 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.2884, allocations: 1.438 kB / 404.6 MB, free: 4.547 MB / 318.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.0007605/0.2891, allocations: 0.5129 MB / 405.1 MB, free: 4.133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/0.2892, allocations: 13.7 kB / 405.1 MB, free: 4.129 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.14e-05/0.2892, allocations: 45.19 kB / 405.2 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/0.2893, allocations: 32.22 kB / 405.2 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.2897, allocations: 226.2 kB / 405.4 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.2897, allocations: 18.34 kB / 405.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.91e-05/0.2897, allocations: 13.58 kB / 405.4 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/0.29, allocations: 439.3 kB / 405.9 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2901, allocations: 4 kB / 405.9 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.2901, allocations: 6.75 kB / 405.9 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2901, allocations: 1.375 kB / 405.9 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.2903, allocations: 85.3 kB / 406 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006939/0.2909, allocations: 436.5 kB / 406.4 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.2912, allocations: 162.5 kB / 406.5 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.2913, allocations: 56.56 kB / 406.6 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.2913, allocations: 10.25 kB / 406.6 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.2914, allocations: 37.31 kB / 406.6 MB, free: 2.945 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.764e-06/0.2914, allocations: 0 / 406.6 MB, free: 2.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004298/0.2918, allocations: 220.4 kB / 406.9 MB, free: 2.852 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.654e-05/0.2919, allocations: 290.8 kB / 407.1 MB, free: 2.504 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.2921, allocations: 286.6 kB / 407.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.2922, allocations: 32.48 kB / 407.5 MB, free: 2.309 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.2923, allocations: 153.9 kB / 407.6 MB, free: 2.176 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.2923, allocations: 54.25 kB / 407.7 MB, free: 2.133 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.681e-05/0.2924, allocations: 67.39 kB / 407.7 MB, free: 2.094 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.693e-05/0.2924, allocations: 339.5 kB / 408.1 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.2926, allocations: 102.5 kB / 408.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.2929, allocations: 407.1 kB / 408.6 MB, free: 1.352 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.2932, allocations: 209 kB / 408.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2932, allocations: 0 / 408.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004503/0.2937, allocations: 313.9 kB / 409.1 MB, free: 1.152 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.2937, allocations: 5.406 kB / 409.1 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/0.2937, allocations: 9.859 kB / 409.1 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.2937, allocations: 5.406 kB / 409.1 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.294, allocations: 46.62 kB / 409.1 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.294, allocations: 5.422 kB / 409.1 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.2941, allocations: 24.83 kB / 409.2 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.2941, allocations: 6.422 kB / 409.2 MB, free: 1.125 MB / 318.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.0001167/0.2942, allocations: 151.1 kB / 409.3 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.766e-05/0.2943, allocations: 32.2 kB / 409.3 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.198e-05/0.2943, allocations: 26.84 kB / 409.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2943, allocations: 1.969 kB / 409.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2944, allocations: 9.094 kB / 409.4 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.2944, allocations: 0.6094 kB / 409.4 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.2946, allocations: 225.1 kB / 409.6 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2946, allocations: 3.938 kB / 409.6 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.2948, allocations: 31.92 kB / 409.6 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2948, allocations: 1.625 kB / 409.6 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.2948, allocations: 4.281 kB / 409.6 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2948, allocations: 0 / 409.6 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2948, allocations: 4.594 kB / 409.6 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004218/0.2952, allocations: 338.2 kB / 410 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.24e-05/0.2953, allocations: 24.16 kB / 410 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.2953, allocations: 5.484 kB / 410 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.2954, allocations: 9.828 kB / 410 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.2954, allocations: 16.3 kB / 410 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.2955, allocations: 3.203 kB / 410 MB, free: 0.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001631/0.2956, allocations: 204.1 kB / 410.2 MB, free: 388 kB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2956, allocations: 0 / 410.2 MB, free: 388 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004047/0.296, allocations: 78.14 kB / 410.3 MB, free: 372 kB / 318.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.0008528/0.2969, allocations: 0.9094 MB / 411.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004587/0.2973, allocations: 267.4 kB / 411.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.2973, allocations: 1.094 kB / 411.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.2975, allocations: 64.2 kB / 411.5 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/0.298, allocations: 75.62 kB / 411.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004061/0.302, allocations: 2.794 MB / 414.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.3022, allocations: 157.1 kB / 414.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001874/0.3024, allocations: 46.12 kB / 414.6 MB, free: 13.26 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.3026, allocations: 85.06 kB / 414.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of SimCode: time 1.233e-06/0.3026, allocations: 3.938 kB / 414.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04039/0.343, allocations: 7.407 MB / 422.1 MB, free: 8.688 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11, allocations: 3.859 kB / 422.1 MB, free: 8.684 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_FilterWithRiseTime.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.FilterWithRiseTime_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/FilterWithRiseTime/FilterWithRiseTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.362932787742466]